类 TypeToken<T>

  • 类型参数:
    T -

    public abstract class TypeToken<T>
    extends java.lang.Object
    Simple generic type infer class, for tell json processor which type to decode with json.
    • 构造器概要

      构造器 
      限定符 构造器 说明
      protected TypeToken()  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.reflect.Type getType()
      Gets underlying Type instance.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • TypeToken

        protected TypeToken()
    • 方法详细资料

      • getType

        public final java.lang.reflect.Type getType()
        Gets underlying Type instance.