Class 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>>
    Enclosing class:
    TypeToken<T>

    public class TypeToken.TypeSet
    extends ForwardingSet<TypeToken<? super T>>
    implements java.io.Serializable
    The set of interfaces and classes that T is or is a subtype of. Object is not included in the set if this type is an interface.
    See Also:
    Serialized Form
    • Method Detail

      • interfaces

        public TypeToken.TypeSet interfaces()
        Returns the types that are interfaces implemented by this type.
      • 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.