Package com.strobel.reflection
Class TypeList
- All Implemented Interfaces:
IReadOnlyList<Type<?>>,Iterable<Type<?>>,Collection<Type<?>>,List<Type<?>>,RandomAccess,SequencedCollection<Type<?>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeListprivate static TypeListcombineCore(TypeList first, TypeList second, boolean merge) final booleancontainsGenericParameter(Type<?> genericParameter) final booleanfinal booleancontainsSubTypeOf(Type<?> type) final booleancontainsSuperTypeOf(Type<?> type) final booleancontainsTypeAssignableFrom(Type<?> type) static TypeListempty()booleanbooleanfinal TypeListinthashCode()final booleanisAssignableFrom(TypeList types) final booleanisEquivalentTo(TypeList types) static TypeListstatic TypeListsubList(int fromIndex, int toIndex) Methods inherited from class com.strobel.reflection.MemberList
combine, getMemberTypeMethods inherited from class com.strobel.core.ReadOnlyList
add, add, addAll, addAll, clear, contains, containsAll, containsAll, emptyList, get, getElements, getOffset, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, newInstance, remove, remove, removeAll, retainAll, set, size, subListRangeCheck, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Field Details
-
EMPTY
-
-
Constructor Details
-
TypeList
-
TypeList
-
TypeList
-
-
Method Details
-
empty
-
combine
-
of
-
of
-
combineCore
-
subList
-
containsGenericParameters
public final boolean containsGenericParameters() -
containsGenericParameter
-
containsSubTypeOf
-
containsSuperTypeOf
-
containsTypeAssignableFrom
-
isEquivalentTo
-
isAssignableFrom
-
getErasedTypes
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<Type<?>>- Specified by:
hashCodein interfaceList<Type<?>>- Overrides:
hashCodein classReadOnlyList<Type<?>>
-
equals
- Specified by:
equalsin interfaceCollection<Type<?>>- Specified by:
equalsin interfaceList<Type<?>>- Overrides:
equalsin classReadOnlyList<Type<?>>
-
equals
-