S
- The type of field descriptions represented by this list.public static class FieldList.Explicit<S extends FieldDescription> extends FieldList.AbstractBase<S>
FieldList.AbstractBase<S extends FieldDescription>, FieldList.Empty<S extends FieldDescription>, FieldList.Explicit<S extends FieldDescription>, FieldList.ForLoadedFields, FieldList.ForTokens, FieldList.TypeSubstituting
Modifier and Type | Field and Description |
---|---|
private java.util.List<? extends S> |
fieldDescriptions
The list of field descriptions this list represents.
|
Constructor and Description |
---|
Explicit(java.util.List<? extends S> fieldDescriptions)
Creates a new immutable wrapper field list.
|
Explicit(S... fieldDescription)
Creates a new immutable wrapper field list.
|
Modifier and Type | Method and Description |
---|---|
S |
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
private final java.util.List<? extends S extends FieldDescription> fieldDescriptions
public Explicit(S... fieldDescription)
fieldDescription
- The list of fields to be represented by this field list.public Explicit(java.util.List<? extends S> fieldDescriptions)
fieldDescriptions
- The list of fields to be represented by this field list.public S get(int index)
get
in interface java.util.List<S extends FieldDescription>
get
in class java.util.AbstractList<S extends FieldDescription>
public int size()
size
in interface java.util.Collection<S extends FieldDescription>
size
in interface java.util.List<S extends FieldDescription>
size
in class java.util.AbstractCollection<S extends FieldDescription>