类 ObjectListMorpher
java.lang.Object
com.sh.json.ezmorph.object.AbstractObjectMorpher
com.sh.json.ezmorph.object.ObjectListMorpher
- 所有已实现的接口:
Morpher,ObjectMorpher
Morphs a List to another List using a Morpher.
-
构造器概要
构造器构造器说明ObjectListMorpher(Morpher morpher) Creates a new ArrayMorpher which will use another Morpher for its inner type.
The inner morpher can not morph to an array.ObjectListMorpher(Morpher morpher, Object defaultValue) -
方法概要
从类继承的方法 com.sh.json.ezmorph.object.AbstractObjectMorpher
isUseDefault, setUseDefault
-
构造器详细资料
-
ObjectListMorpher
Creates a new ArrayMorpher which will use another Morpher for its inner type.
The inner morpher can not morph to an array. Multiple dimension arrays are already handled by this class.- 参数:
morpher- the Morpher that will handle the array's inner type.
-
ObjectListMorpher
-
-
方法详细资料
-
equals
-
hashCode
public int hashCode() -
morph
从接口复制的说明:ObjectMorpherMorphs the input object into an output object of the supported type.- 参数:
value- The input value to be morphed
-
morphsTo
从接口复制的说明:MorpherReturns the target Class for conversion.- 返回:
- the target Class for conversion.
-
supports
从类复制的说明:AbstractObjectMorpherReturns true if the Morpher supports conversion from this Class.
Supports any type that is not an Array.- 指定者:
supports在接口中Morpher- 覆盖:
supports在类中AbstractObjectMorpher- 参数:
clazz- the source Class- 返回:
- true if clazz is supported by this morpher, false otherwise.
-