Class TypeToken.Bounds

  • Enclosing class:
    TypeToken<T>

    private static class TypeToken.Bounds
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.reflect.Type[] bounds  
      private boolean target  
    • Constructor Summary

      Constructors 
      Constructor Description
      Bounds​(java.lang.reflect.Type[] bounds, boolean target)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean isSubtypeOf​(java.lang.reflect.Type supertype)  
      (package private) boolean isSupertypeOf​(java.lang.reflect.Type subtype)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bounds

        private final java.lang.reflect.Type[] bounds
      • target

        private final boolean target
    • Constructor Detail

      • Bounds

        Bounds​(java.lang.reflect.Type[] bounds,
               boolean target)
    • Method Detail

      • isSubtypeOf

        boolean isSubtypeOf​(java.lang.reflect.Type supertype)
      • isSupertypeOf

        boolean isSupertypeOf​(java.lang.reflect.Type subtype)