public static class FieldList.ForTokens extends FieldList.AbstractBase<FieldDescription.InDefinedShape>
FieldList.AbstractBase<S extends FieldDescription>, FieldList.Empty, FieldList.Explicit<S extends FieldDescription>, FieldList.ForLoadedField, FieldList.ForTokens, FieldList.TypeSubstitutingmodCount| Constructor and Description |
|---|
ForTokens(TypeDescription declaringType,
List<? extends FieldDescription.Token> tokens)
Creates a new field list from a list of field tokens.
|
| Modifier and Type | Method and Description |
|---|---|
FieldDescription.InDefinedShape |
get(int index) |
int |
size() |
asDefined, asTokenList, asTokenList, 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 declaringType, List<? extends FieldDescription.Token> tokens)
declaringType - The declaring type of the represented fields.tokens - A list of the represented fields' tokens.public FieldDescription.InDefinedShape get(int index)
get in interface List<FieldDescription.InDefinedShape>get in class AbstractList<FieldDescription.InDefinedShape>public int size()
size in interface Collection<FieldDescription.InDefinedShape>size in interface List<FieldDescription.InDefinedShape>size in class AbstractCollection<FieldDescription.InDefinedShape>Copyright © 2014–2015. All rights reserved.