Package com.google.common.reflect
Class TypeToken.InterfaceSet
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.google.common.collect.ForwardingCollection<E>
-
- com.google.common.collect.ForwardingSet<TypeToken<? super T>>
-
- com.google.common.reflect.TypeToken.TypeSet
-
- com.google.common.reflect.TypeToken.InterfaceSet
-
-
Field Summary
Fields Modifier and Type Field Description private TypeToken.TypeSet
allTypes
private ImmutableSet<TypeToken<? super T>>
interfaces
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description InterfaceSet(TypeToken.TypeSet allTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.private java.lang.Object
readResolve()
-
Methods inherited from class com.google.common.collect.ForwardingSet
equals, hashCode, standardEquals, standardHashCode, standardRemoveAll
-
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
-
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
-
-
-
Field Detail
-
allTypes
private final transient TypeToken.TypeSet allTypes
-
interfaces
@CheckForNull private transient ImmutableSet<TypeToken<? super T>> interfaces
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InterfaceSet
InterfaceSet(TypeToken.TypeSet allTypes)
-
-
Method Detail
-
delegate
protected java.util.Set<TypeToken<? super T>> delegate()
Description copied from class:ForwardingObject
Returns the backing delegate instance that methods are forwarded to. Abstract subclasses generally override this method with an abstract method that has a more specific return type, such asForwardingSet.delegate()
. Concrete subclasses override this method to supply the instance being decorated.- Overrides:
delegate
in classTypeToken.TypeSet
-
interfaces
public TypeToken.TypeSet interfaces()
Description copied from class:TypeToken.TypeSet
Returns the types that are interfaces implemented by this type.- Overrides:
interfaces
in classTypeToken.TypeSet
-
rawTypes
public java.util.Set<java.lang.Class<? super T>> rawTypes()
Description copied from class:TypeToken.TypeSet
Returns the raw types of the types in this set, in the same order.- Overrides:
rawTypes
in classTypeToken.TypeSet
-
classes
public TypeToken.TypeSet classes()
Description copied from class:TypeToken.TypeSet
Returns the types that are classes.- Overrides:
classes
in classTypeToken.TypeSet
-
readResolve
private java.lang.Object readResolve()
-
-