public static class FieldList.ForLoadedField extends FilterableList.AbstractBase<FieldDescription,FieldList> implements FieldList
FieldList.Empty, FieldList.Explicit, FieldList.ForLoadedField
FilterableList.AbstractBase<T,S extends FilterableList<T,S>>
modCount
Constructor and Description |
---|
ForLoadedField(Field... field)
Creates a new immutable field list that represents an array of loaded field.
|
Modifier and Type | Method and Description |
---|---|
FieldDescription |
get(int index) |
int |
size() |
protected FieldList |
wrap(List<FieldDescription> values)
Represents a list of values as an instance of this instance's list type.
|
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 ForLoadedField(Field... field)
field
- An array of fields to be represented by this field list.public FieldDescription get(int index)
get
in interface List<FieldDescription>
get
in class AbstractList<FieldDescription>
public int size()
size
in interface Collection<FieldDescription>
size
in interface List<FieldDescription>
size
in class AbstractCollection<FieldDescription>
protected FieldList wrap(List<FieldDescription> values)
FilterableList.AbstractBase
wrap
in class FilterableList.AbstractBase<FieldDescription,FieldList>
values
- The values to wrap in an instance of this list's type.values
.Copyright © 2014–2015. All rights reserved.