public static class MethodGraph.NodeList extends FilterableList.AbstractBase<MethodGraph.Node,MethodGraph.NodeList>
FilterableList.AbstractBase<T,S extends FilterableList<T,S>>, FilterableList.Empty<T,S extends FilterableList<T,S>>
Modifier and Type | Field and Description |
---|---|
private java.util.List<? extends MethodGraph.Node> |
nodes
The represented nodes.
|
Constructor and Description |
---|
NodeList(java.util.List<? extends MethodGraph.Node> nodes)
Creates a list of nodes.
|
Modifier and Type | Method and Description |
---|---|
MethodList<?> |
asMethodList()
Transforms this list of nodes into a list of the node's representatives.
|
MethodGraph.Node |
get(int index) |
int |
size() |
protected MethodGraph.NodeList |
wrap(java.util.List<MethodGraph.Node> values)
Represents a list of values as an instance of this instance's list type.
|
filter, getOnly, subList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private final java.util.List<? extends MethodGraph.Node> nodes
public NodeList(java.util.List<? extends MethodGraph.Node> nodes)
nodes
- The represented nodes.public MethodGraph.Node get(int index)
get
in interface java.util.List<MethodGraph.Node>
get
in class java.util.AbstractList<MethodGraph.Node>
public int size()
size
in interface java.util.Collection<MethodGraph.Node>
size
in interface java.util.List<MethodGraph.Node>
size
in class java.util.AbstractCollection<MethodGraph.Node>
protected MethodGraph.NodeList wrap(java.util.List<MethodGraph.Node> values)
FilterableList.AbstractBase
wrap
in class FilterableList.AbstractBase<MethodGraph.Node,MethodGraph.NodeList>
values
- The values to wrap in an instance of this list's type.values
.public MethodList<?> asMethodList()