S
- The type of record component descriptions represented by this list.public static class RecordComponentList.Explicit<S extends RecordComponentDescription> extends RecordComponentList.AbstractBase<S>
RecordComponentList.AbstractBase<S extends RecordComponentDescription>, RecordComponentList.Empty<S extends RecordComponentDescription>, RecordComponentList.Explicit<S extends RecordComponentDescription>, RecordComponentList.ForLoadedRecordComponents, RecordComponentList.ForTokens, RecordComponentList.TypeSubstituting
modCount
Constructor and Description |
---|
Explicit(List<? extends S> recordComponents)
Creates a new list of record component descriptions.
|
Explicit(S... recordComponent)
Creates a new list of record component descriptions.
|
Modifier and Type | Method and Description |
---|---|
S |
get(int index) |
int |
size() |
asDefined, asTokenList, asTypeList, wrap
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
filter, getOnly, subList
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 Explicit(S... recordComponent)
recordComponent
- The represented record components.public S get(int index)
get
in interface List<S extends RecordComponentDescription>
get
in class AbstractList<S extends RecordComponentDescription>
public int size()
size
in interface Collection<S extends RecordComponentDescription>
size
in interface List<S extends RecordComponentDescription>
size
in class AbstractCollection<S extends RecordComponentDescription>
Copyright © 2014–2021. All rights reserved.