类 ValueType<T>
java.lang.Object
cc.carm.lib.configuration.adapter.ValueType<T>
Used to get the generic type.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanClass<?>提取当前 ValueType 的原始类型(Class 对象)。getType()inthashCode()booleanisInstance(Object obj) booleanisSubtypeOf(ValueType<?> target) booleanisSubtypeOf(Class<?> target) static <T> ValueType<T>static <T> ValueType<T>Get the generic type of the complex type.static <T> ValueType<T>static <T> ValueType<T>of(T value) toString()
-
字段详细资料
-
STRING
-
INTEGER
-
INTEGER_TYPE
-
LONG
-
LONG_TYPE
-
DOUBLE
-
DOUBLE_TYPE
-
FLOAT
-
FLOAT_TYPE
-
BOOLEAN
-
BOOLEAN_TYPE
-
BYTE
-
BYTE_TYPE
-
SHORT
-
SHORT_TYPE
-
CHAR
-
CHAR_TYPE
-
PRIMITIVE_TYPES
-
-
构造器详细资料
-
ValueType
protected ValueType()
-
-
方法详细资料
-
of
-
of
-
of
-
ofList
-
of
Get the generic type of the complex type.- 类型参数:
T- The type- 参数:
rawType- The raw typetypes- The type arguments- 返回:
- The
ValueType
-
getType
-
isSubtypeOf
-
isSubtypeOf
-
isInstance
-
getRawType
提取当前 ValueType 的原始类型(Class 对象)。- 返回:
- 对应的 Class 对象
- 抛出:
IllegalStateException- 如果无法提取出原始类型
-
cast
-
toString
-
equals
-
hashCode
public int hashCode()
-