public class ConnectionList extends java.util.LinkedList<Connection>
| Constructor and Description |
|---|
ConnectionList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
insert(Connection connection)
Insert the Connection object at the right place so the list is always
in ascending order of polar angle (connection.vector.theta).
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitpublic boolean insert(Connection connection)