public class TypeToken.TypeSet extends ForwardingSet<TypeToken<? super T>> implements java.io.Serializable
T is or is a subtype of. Object is not
included in the set if this type is an interface.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private ImmutableSet<TypeToken<? super T>> |
types |
| Constructor and Description |
|---|
TypeSet() |
| Modifier and Type | Method and Description |
|---|---|
TypeToken.TypeSet |
classes()
Returns the types that are classes.
|
protected java.util.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.
|
java.util.Set<java.lang.Class<? super T>> |
rawTypes()
Returns the raw types of the types in this set, in the same order.
|
equals, hashCode, standardEquals, standardHashCode, standardRemoveAlladd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArraytoStringclone, finalize, getClass, notify, notifyAll, wait, wait, wait@CheckForNull private transient ImmutableSet<TypeToken<? super T>> types
private static final long serialVersionUID
public TypeToken.TypeSet interfaces()
public TypeToken.TypeSet classes()
protected java.util.Set<TypeToken<? super T>> delegate()
ForwardingObjectForwardingSet.delegate(). Concrete subclasses override this method to supply the
instance being decorated.delegate in class ForwardingSet<TypeToken<? super T>>public java.util.Set<java.lang.Class<? super T>> rawTypes()