Package org.eclipse.draw2d.graph
Class NodeList
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Node>,Collection<Node>,List<Node>,RandomAccess,SequencedCollection<Node>
- Direct Known Subclasses:
Rank
A list containing nodes.
- Since:
- 2.1.2
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
NodeList
public NodeList()Constructs an empty NodeList. -
NodeList
Constructs a NodeList with the elements from the specified list.- Parameters:
list- the list whose elements are to be added to this list
-
-
Method Details
-
getNode
Deprecated, for removal: This API element is subject to removal in a future version.use UseArrayList.get(int)instead.Returns the Node at the given index.- Parameters:
index- the index- Returns:
- the node at a given index
-
ArrayList.get(int)instead.