public class TypeToken.TypeSet extends ForwardingSet<TypeToken<? super T>> implements Serializable
T
is or is a subtype of. Object
is not
included in the set if this type is an interface.Modifier and Type | Method and Description |
---|---|
TypeToken.TypeSet |
classes()
Returns the types that are classes.
|
protected Set<TypeToken<? super T>> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
TypeToken.TypeSet |
interfaces()
Returns the types that are interfaces implemented by this type.
|
Set<Class<? super T>> |
rawTypes()
Returns the raw types of the types in this set, in the same order.
|
equals, hashCode, standardEquals, standardHashCode, standardRemoveAll
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
public TypeToken.TypeSet interfaces()
public TypeToken.TypeSet classes()
protected Set<TypeToken<? super T>> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply the
instance being decorated.delegate
in class ForwardingSet<TypeToken<? super T>>
Copyright © 2010–2019. All rights reserved.