类 FloatMorpher
java.lang.Object
com.sh.json.ezmorph.primitive.AbstractPrimitiveMorpher
com.sh.json.ezmorph.primitive.AbstractDecimalMorpher
com.sh.json.ezmorph.primitive.FloatMorpher
- 所有已实现的接口:
Morpher
Moprhs to a float.
-
构造器概要
构造器 -
方法概要
从类继承的方法 com.sh.json.ezmorph.primitive.AbstractPrimitiveMorpher
isUseDefault, supports
-
构造器详细资料
-
FloatMorpher
public FloatMorpher() -
FloatMorpher
public FloatMorpher(float defaultValue) - 参数:
defaultValue- return value if the value to be morphed is null
-
-
方法详细资料
-
equals
-
getDefaultValue
public float getDefaultValue()Returns the default value for this Morpher. -
hashCode
public int hashCode() -
morph
Morphs the input object into an output object of the supported type.- 参数:
value- The input value to be morphed- 抛出:
MorphException- if conversion cannot be performed successfully
-
morphsTo
从接口复制的说明:MorpherReturns the target Class for conversion.- 返回:
- the target Class for conversion.
-