S
- The type of method descriptions represented by this list.public static class MethodList.Explicit<S extends MethodDescription> extends MethodList.AbstractBase<S>
MethodList.AbstractBase<S extends MethodDescription>, MethodList.Empty<S extends MethodDescription>, MethodList.Explicit<S extends MethodDescription>, MethodList.ForLoadedMethods, MethodList.ForTokens, MethodList.TypeSubstituting
Modifier and Type | Field and Description |
---|---|
private java.util.List<? extends S> |
methodDescriptions
The list of methods that is represented by this method list.
|
Constructor and Description |
---|
Explicit(java.util.List<? extends S> methodDescriptions)
Creates a new wrapper for a given list of methods.
|
Explicit(S... methodDescription)
Creates a new wrapper for a given list of methods.
|
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 MethodDescription> methodDescriptions
public Explicit(S... methodDescription)
methodDescription
- The underlying list of methods used for this method list.public Explicit(java.util.List<? extends S> methodDescriptions)
methodDescriptions
- The underlying list of methods used for this method list.public S get(int index)
get
in interface java.util.List<S extends MethodDescription>
get
in class java.util.AbstractList<S extends MethodDescription>
public int size()
size
in interface java.util.Collection<S extends MethodDescription>
size
in interface java.util.List<S extends MethodDescription>
size
in class java.util.AbstractCollection<S extends MethodDescription>