Package com.strobel.reflection
Class TypeList
- All Implemented Interfaces:
IReadOnlyList<Type<?>>,Iterable<Type<?>>,Collection<Type<?>>,List<Type<?>>,RandomAccess,SequencedCollection<Type<?>>
- Author:
- Mike Strobel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeListfinal 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
combineMethods 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
-
Constructor Details
-
TypeList
-
TypeList
-
TypeList
-
-
Method Details
-
empty
-
combine
-
of
-
of
-
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
-