Package com.strobel.reflection
Class MethodList
- java.lang.Object
-
- com.strobel.core.ReadOnlyList<T>
-
- com.strobel.reflection.MemberList<MethodInfo>
-
- com.strobel.reflection.MethodList
-
- All Implemented Interfaces:
IReadOnlyList<MethodInfo>,java.lang.Iterable<MethodInfo>,java.util.Collection<MethodInfo>,java.util.List<MethodInfo>,java.util.RandomAccess
public final class MethodList extends MemberList<MethodInfo>
-
-
Field Summary
Fields Modifier and Type Field Description private static MethodListEMPTY
-
Constructor Summary
Constructors Constructor Description MethodList(MethodInfo... elements)MethodList(MethodInfo[] elements, int offset, int length)MethodList(java.util.List<? extends MethodInfo> elements)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MethodListcombine(MethodList first, MethodList second)static MethodListempty()MethodListsubList(int fromIndex, int toIndex)-
Methods inherited from class com.strobel.reflection.MemberList
combine, getMemberType
-
Methods inherited from class com.strobel.core.ReadOnlyList
add, add, addAll, addAll, clear, contains, containsAll, containsAll, emptyList, equals, get, getElements, getOffset, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, newInstance, remove, remove, removeAll, retainAll, set, size, subListRangeCheck, toArray, toArray, toString
-
-
-
-
Field Detail
-
EMPTY
private static final MethodList EMPTY
-
-
Constructor Detail
-
MethodList
public MethodList(java.util.List<? extends MethodInfo> elements)
-
MethodList
public MethodList(MethodInfo... elements)
-
MethodList
public MethodList(MethodInfo[] elements, int offset, int length)
-
-
Method Detail
-
empty
public static MethodList empty()
-
combine
public static MethodList combine(MethodList first, MethodList second)
-
subList
@NotNull public MethodList subList(int fromIndex, int toIndex)
- Specified by:
subListin interfacejava.util.List<MethodInfo>- Overrides:
subListin classMemberList<MethodInfo>
-
-