public static class GenericTypeList.LazyProjection.OfInterfaces extends GenericTypeList.LazyProjection
GenericTypeList.LazyProjection.OfConstructorExceptionTypes, GenericTypeList.LazyProjection.OfInterfaces, GenericTypeList.LazyProjection.OfMethodExceptionTypes
GenericTypeList.AbstractBase, GenericTypeList.Empty, GenericTypeList.Explicit, GenericTypeList.ForDetachedTypes, GenericTypeList.ForLoadedType, GenericTypeList.LazyProjection, GenericTypeList.OfPotentiallyRawType
modCount
Constructor and Description |
---|
OfInterfaces(Class<?> type)
Creates a lazy projection of interface types.
|
Modifier and Type | Method and Description |
---|---|
TypeList |
asErasures()
Returns a list of the generic types' erasures.
|
GenericTypeDescription |
get(int index) |
int |
size() |
accept, getStackSize, wrap
filter, getOnly, subList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public OfInterfaces(Class<?> type)
type
- The type of which the interface types are represented by this list.public GenericTypeDescription get(int index)
get
in interface List<GenericTypeDescription>
get
in class AbstractList<GenericTypeDescription>
public int size()
size
in interface Collection<GenericTypeDescription>
size
in interface List<GenericTypeDescription>
size
in class AbstractCollection<GenericTypeDescription>
public TypeList asErasures()
GenericTypeList
asErasures
in interface GenericTypeList
asErasures
in class GenericTypeList.AbstractBase
Copyright © 2014–2015. All rights reserved.