Class RecordComponentList.Explicit<S extends RecordComponentDescription>
java.lang.Object
java.util.AbstractCollection<S>
java.util.AbstractList<S>
net.bytebuddy.matcher.FilterableList.AbstractBase<S, RecordComponentList<S>>
net.bytebuddy.description.type.RecordComponentList.AbstractBase<S>
net.bytebuddy.description.type.RecordComponentList.Explicit<S>
- Type Parameters:
S- The type of record component descriptions represented by this list.
- All Implemented Interfaces:
Iterable<S>, Collection<S>, List<S>, SequencedCollection<S>, RecordComponentList<S>, FilterableList<S, RecordComponentList<S>>
- Enclosing interface:
RecordComponentList<T extends RecordComponentDescription>
public static class RecordComponentList.Explicit<S extends RecordComponentDescription>
extends RecordComponentList.AbstractBase<S>
A wrapper implementation of an explicit list of record components.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FilterableList
FilterableList.AbstractBase<T,S>, FilterableList.Empty<T, S> Nested classes/interfaces inherited from interface RecordComponentList
RecordComponentList.AbstractBase<S>, RecordComponentList.Empty<S>, RecordComponentList.Explicit<S>, RecordComponentList.ForLoadedRecordComponents, RecordComponentList.ForTokens, RecordComponentList.TypeSubstituting -
Field Summary
FieldsModifier and TypeFieldDescriptionThe record components represented by this list.Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RecordComponentList.AbstractBase
asDefined, asTokenList, asTypeList, wrapMethods 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 FilterableList
filter, getOnly, subListMethods 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
-
recordComponents
The record components represented by this list.
-
-
Constructor Details
-
Explicit
Creates a new list of record component descriptions.- Parameters:
recordComponent- The represented record components.
-
Explicit
-
-
Method Details
-
get
- Specified by:
getin interfaceList<S extends RecordComponentDescription>- Specified by:
getin classAbstractList<S extends RecordComponentDescription>
-
size
public int size()- Specified by:
sizein interfaceCollection<S extends RecordComponentDescription>- Specified by:
sizein interfaceList<S extends RecordComponentDescription>- Specified by:
sizein classAbstractCollection<S extends RecordComponentDescription>
-