public static class TypeList.Explicit extends TypeList.AbstractBase
TypeList.AbstractBase, TypeList.Empty, TypeList.Explicit, TypeList.ForLoadedTypes, TypeList.Generic
Modifier and Type | Field and Description |
---|---|
private java.util.List<? extends TypeDescription> |
typeDescriptions
The list of type descriptions this list represents.
|
NO_INTERFACES
Constructor and Description |
---|
Explicit(java.util.List<? extends TypeDescription> typeDescriptions)
Creates an immutable wrapper.
|
Explicit(TypeDescription... typeDescription)
Creates an immutable wrapper.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription |
get(int index) |
int |
size() |
getStackSize, toInternalNames, 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 TypeDescription> typeDescriptions
public Explicit(TypeDescription... typeDescription)
typeDescription
- The list of types to be represented by this wrapper.public Explicit(java.util.List<? extends TypeDescription> typeDescriptions)
typeDescriptions
- The list of types to be represented by this wrapper.public TypeDescription get(int index)
get
in interface java.util.List<TypeDescription>
get
in class java.util.AbstractList<TypeDescription>
public int size()
size
in interface java.util.Collection<TypeDescription>
size
in interface java.util.List<TypeDescription>
size
in class java.util.AbstractCollection<TypeDescription>