Class TypeArguments
java.lang.Object
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<TypeArgument>, Collection<TypeArgument>, List<TypeArgument>, RandomAccess, SequencedCollection<TypeArgument>, BaseTypeArgument, TypeArgumentVisitable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class DefaultList
DefaultList.EmptyList<E> -
Field Summary
Fields inherited from class DefaultList
EMPTY_LISTFields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TypeArgumentVisitor visitor) booleanisList()booleanisTypeArgumentAssignableFrom(Map<String, BaseType> typeBounds, BaseTypeArgument typeArgument) booleanintMethods inherited from class DefaultList
emptyList, getFirst, getLast, removeFirst, removeLastMethods inherited from class ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Constructor Details
-
TypeArguments
public TypeArguments() -
TypeArguments
public TypeArguments(int capacity) -
TypeArguments
-
-
Method Details
-
isList
public boolean isList()- Overrides:
isListin classDefaultList<TypeArgument>
-
isTypeArgumentAssignableFrom
public boolean isTypeArgumentAssignableFrom(Map<String, BaseType> typeBounds, BaseTypeArgument typeArgument) - Specified by:
isTypeArgumentAssignableFromin interfaceBaseTypeArgument
-
isTypeArgumentList
public boolean isTypeArgumentList()- Specified by:
isTypeArgumentListin interfaceBaseTypeArgument
-
getTypeArgumentFirst
- Specified by:
getTypeArgumentFirstin interfaceBaseTypeArgument
-
getTypeArgumentList
- Specified by:
getTypeArgumentListin interfaceBaseTypeArgument
-
typeArgumentSize
public int typeArgumentSize()- Specified by:
typeArgumentSizein interfaceBaseTypeArgument
-
accept
- Specified by:
acceptin interfaceTypeArgumentVisitable
-