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 SummaryFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.util.ArrayListadd, 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.AbstractCollectioncontainsAll, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, stream, toArrayMethods inherited from interface java.util.ListcontainsAll, reversed
- 
Constructor Details- 
NodeListpublic NodeList()Constructs an empty NodeList.
- 
NodeListConstructs a NodeList with the elements from the specified list.- Parameters:
- list- the list whose elements are to be added to this list
 
 
- 
- 
Method Details- 
getNodeDeprecated, 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.