S
- The type of record component descriptions represented by this list.public abstract static class RecordComponentList.AbstractBase<S extends RecordComponentDescription> extends FilterableList.AbstractBase<S,RecordComponentList<S>> implements RecordComponentList<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 |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
asDefined()
Returns this list of these record component descriptions resolved to their defined shape.
|
ByteCodeElement.Token.TokenList<RecordComponentDescription.Token> |
asTokenList(ElementMatcher<? super TypeDescription> matcher)
Transforms the list of record component descriptions into a list of detached tokens.
|
TypeList.Generic |
asTypeList()
Returns a list of all types of the records of this list.
|
protected RecordComponentList<S> |
wrap(List<S> values)
Represents a list of values as an instance of this instance's list type.
|
filter, getOnly, subList
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public ByteCodeElement.Token.TokenList<RecordComponentDescription.Token> asTokenList(ElementMatcher<? super TypeDescription> matcher)
TargetType
.asTokenList
in interface RecordComponentList<S extends RecordComponentDescription>
matcher
- A matcher that indicates type substitution.public TypeList.Generic asTypeList()
asTypeList
in interface RecordComponentList<S extends RecordComponentDescription>
public RecordComponentList<RecordComponentDescription.InDefinedShape> asDefined()
asDefined
in interface RecordComponentList<S extends RecordComponentDescription>
protected RecordComponentList<S> wrap(List<S> values)
FilterableList.AbstractBase
wrap
in class FilterableList.AbstractBase<S extends RecordComponentDescription,RecordComponentList<S extends RecordComponentDescription>>
values
- The values to wrap in an instance of this list's type.values
.Copyright © 2014–2021. All rights reserved.