com.dyuproject.util.reflect
Class ParameterType

java.lang.Object
  extended by com.dyuproject.util.reflect.ParameterType

public abstract class ParameterType
extends Object

The java.lang.* primitive and primitive wrapper types

Author:
David Yu

Field Summary
static ParameterType BOOLEAN
           
static ParameterType DOUBLE
           
static ParameterType FLOAT
           
static ParameterType INTEGER
           
static ParameterType LONG
           
static ParameterType SHORT
           
static ParameterType STRING
           
 
Constructor Summary
ParameterType()
           
 
Method Summary
abstract  Object create(String value)
           
static ParameterType getSimpleType(Class<?> clazz)
           
abstract  Class<?> getTypeClass()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING

public static final ParameterType STRING

BOOLEAN

public static final ParameterType BOOLEAN

SHORT

public static final ParameterType SHORT

INTEGER

public static final ParameterType INTEGER

LONG

public static final ParameterType LONG

FLOAT

public static final ParameterType FLOAT

DOUBLE

public static final ParameterType DOUBLE
Constructor Detail

ParameterType

public ParameterType()
Method Detail

getSimpleType

public static ParameterType getSimpleType(Class<?> clazz)

create

public abstract Object create(String value)

getTypeClass

public abstract Class<?> getTypeClass()

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.