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>>
modCount
Constructor and Description |
---|
NodeList(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(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
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public NodeList(List<? extends MethodGraph.Node> nodes)
nodes
- The represented nodes.public MethodGraph.Node get(int index)
get
in interface List<MethodGraph.Node>
get
in class AbstractList<MethodGraph.Node>
public int size()
size
in interface Collection<MethodGraph.Node>
size
in interface List<MethodGraph.Node>
size
in class AbstractCollection<MethodGraph.Node>
protected MethodGraph.NodeList wrap(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()
Copyright © 2014–2022. All rights reserved.