Class MethodGraph.NodeList
java.lang.Object
java.util.AbstractCollection<MethodGraph.Node>
java.util.AbstractList<MethodGraph.Node>
net.bytebuddy.matcher.FilterableList.AbstractBase<MethodGraph.Node, MethodGraph.NodeList>
net.bytebuddy.dynamic.scaffold.MethodGraph.NodeList
- All Implemented Interfaces:
Iterable<MethodGraph.Node>, Collection<MethodGraph.Node>, List<MethodGraph.Node>, SequencedCollection<MethodGraph.Node>, FilterableList<MethodGraph.Node, MethodGraph.NodeList>
- Enclosing interface:
MethodGraph
public static class MethodGraph.NodeList
extends FilterableList.AbstractBase<MethodGraph.Node, MethodGraph.NodeList>
A list of nodes.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FilterableList
FilterableList.AbstractBase<T,S>, FilterableList.Empty<T, S> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<? extends MethodGraph.Node> The represented nodes.Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethodList<?> Transforms this list of nodes into a list of the node's representatives.get(int index) intsize()protected MethodGraph.NodeListwrap(List<MethodGraph.Node> values) Represents a list of values as an instance of this instance's list type.Methods inherited from class FilterableList.AbstractBase
filter, getOnly, subListMethods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, spliterator, toArray, toArray
-
Field Details
-
nodes
The represented nodes.
-
-
Constructor Details
-
NodeList
Creates a list of nodes.- Parameters:
nodes- The represented nodes.
-
-
Method Details
-
get
- Specified by:
getin interfaceList<MethodGraph.Node>- Specified by:
getin classAbstractList<MethodGraph.Node>
-
size
public int size()- Specified by:
sizein interfaceCollection<MethodGraph.Node>- Specified by:
sizein interfaceList<MethodGraph.Node>- Specified by:
sizein classAbstractCollection<MethodGraph.Node>
-
wrap
Description copied from class:FilterableList.AbstractBaseRepresents a list of values as an instance of this instance's list type.- Specified by:
wrapin classFilterableList.AbstractBase<MethodGraph.Node, MethodGraph.NodeList>- Parameters:
values- The values to wrap in an instance of this list's type.- Returns:
- A wrapped instance of the given
values.
-
asMethodList
Transforms this list of nodes into a list of the node's representatives.- Returns:
- A list of these node's representatives.
-