public static class RecordComponentList.ForTokens extends RecordComponentList.AbstractBase<RecordComponentDescription.InDefinedShape>
RecordComponentList.AbstractBase<S extends RecordComponentDescription>, RecordComponentList.Empty<S extends RecordComponentDescription>, RecordComponentList.Explicit<S extends RecordComponentDescription>, RecordComponentList.ForLoadedRecordComponents, RecordComponentList.ForTokens, RecordComponentList.TypeSubstitutingmodCount| Constructor and Description |
|---|
ForTokens(TypeDescription typeDescription,
List<? extends RecordComponentDescription.Token> tokens)
Creates a new list of record components that are described as tokens.
|
ForTokens(TypeDescription typeDescription,
RecordComponentDescription.Token... token)
Creates a new list of record components that are described as tokens.
|
| Modifier and Type | Method and Description |
|---|---|
RecordComponentDescription.InDefinedShape |
get(int index) |
int |
size() |
asDefined, asTokenList, asTypeList, wrapfilter, getOnly, subListadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfilter, getOnly, subListadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic ForTokens(TypeDescription typeDescription, RecordComponentDescription.Token... token)
typeDescription - The record component's declaring type.token - The list of represented tokens.public ForTokens(TypeDescription typeDescription, List<? extends RecordComponentDescription.Token> tokens)
typeDescription - The record component's declaring type.tokens - The list of represented tokens.public RecordComponentDescription.InDefinedShape get(int index)
get in interface List<RecordComponentDescription.InDefinedShape>get in class AbstractList<RecordComponentDescription.InDefinedShape>public int size()
size in interface Collection<RecordComponentDescription.InDefinedShape>size in interface List<RecordComponentDescription.InDefinedShape>size in class AbstractCollection<RecordComponentDescription.InDefinedShape>Copyright © 2014–2025. All rights reserved.