public static class FieldList.ForLoadedFields extends FieldList.AbstractBase<FieldDescription.InDefinedShape>
FieldList.AbstractBase<S extends FieldDescription>, FieldList.Empty<S extends FieldDescription>, FieldList.Explicit<S extends FieldDescription>, FieldList.ForLoadedFields, FieldList.ForTokens, FieldList.TypeSubstituting
modCount
Constructor and Description |
---|
ForLoadedFields(Field... field)
Creates a new immutable field list that represents an array of loaded field.
|
ForLoadedFields(List<? extends Field> fields)
Creates a new immutable field list that represents an array of loaded field.
|
Modifier and Type | Method and Description |
---|---|
FieldDescription.InDefinedShape |
get(int index) |
int |
size() |
asDefined, asTokenList, 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 ForLoadedFields(Field... field)
field
- An array of fields to be represented by this field list.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–2025. All rights reserved.