public static class MethodList.Empty extends AbstractList<MethodDescription> implements MethodList
MethodList.Empty, MethodList.Explicit, MethodList.ForLoadedTypemodCount| Constructor and Description |
|---|
Empty() |
| Modifier and Type | Method and Description |
|---|---|
MethodList |
filter(MethodMatcher methodMatcher)
Returns a new list that only includes the methods that are matched by the given method matcher.
|
MethodDescription |
get(int index) |
MethodDescription |
getOnly()
Returns the only element in this method list or throws an exception if there is more than or less than
one element in this list.
|
int |
size() |
MethodList |
subList(int fromIndex,
int toIndex) |
String |
toString() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, 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 MethodDescription get(int index)
get in interface List<MethodDescription>get in class AbstractList<MethodDescription>public int size()
size in interface Collection<MethodDescription>size in interface List<MethodDescription>size in class AbstractCollection<MethodDescription>public MethodList filter(MethodMatcher methodMatcher)
MethodListfilter in interface MethodListmethodMatcher - A filter applied to this list.methodMatcher.public MethodDescription getOnly()
MethodListgetOnly in interface MethodListpublic MethodList subList(int fromIndex, int toIndex)
subList in interface List<MethodDescription>subList in interface MethodListsubList in class AbstractList<MethodDescription>public String toString()
toString in class AbstractCollection<MethodDescription>Copyright © 2014. All rights reserved.