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
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-2015. All Rights Reserved.