Package com.google.common.reflect
Class TypeToken.TypeSet
- 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
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<TypeToken<? super T>>,java.util.Collection<TypeToken<? super T>>,java.util.Set<TypeToken<? super T>>
public class TypeToken.TypeSet extends ForwardingSet<TypeToken<? super T>> implements java.io.Serializable
The set of interfaces and classes thatTis or is a subtype of.Objectis not included in the set if this type is an interface.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeToken.TypeSetclasses()Returns the types that are classes.TypeToken.TypeSetinterfaces()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.-
Methods inherited from class com.google.common.collect.ForwardingSet
equals, hashCode
-
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
-
-
-
Method Detail
-
interfaces
public TypeToken.TypeSet interfaces()
Returns the types that are interfaces implemented by this type.
-
classes
public TypeToken.TypeSet classes()
Returns the types that are classes.
-
rawTypes
public java.util.Set<java.lang.Class<? super T>> rawTypes()
Returns the raw types of the types in this set, in the same order.
-
-