Package org.eclipse.draw2d.graph
Class NodeList
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Node>
,Collection<Node>
,List<Node>
,RandomAccess
- 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, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
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.