public static class TypeList.Explicit extends TypeList.AbstractBase
TypeList.AbstractBase, TypeList.Empty, TypeList.Explicit, TypeList.ForLoadedTypes, TypeList.GenericmodCountNO_INTERFACES| Constructor and Description |
|---|
Explicit(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 |
getStackSize()
Returns the sum of the size of all types contained in this list.
|
int |
size() |
String[] |
toInternalNames()
Returns a list of internal names of all types represented by this list.
|
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 Explicit(TypeDescription... typeDescription)
typeDescription - The list of types to be represented by this wrapper.public Explicit(List<? extends TypeDescription> typeDescriptions)
typeDescriptions - The list of types to be represented by this wrapper.public TypeDescription get(int index)
get in interface List<TypeDescription>get in class AbstractList<TypeDescription>public int size()
size in interface Collection<TypeDescription>size in interface List<TypeDescription>size in class AbstractCollection<TypeDescription>public String[] toInternalNames()
TypeListnull if the list is empty.public int getStackSize()
TypeListCopyright © 2014–2016. All rights reserved.