net.sf.ezmorph.primitive
public final class ShortMorpher extends AbstractIntegerMorpher
Constructor Summary | |
---|---|
ShortMorpher() | |
ShortMorpher(short defaultValue) |
Method Summary | |
---|---|
boolean | equals(Object obj) |
short | getDefaultValue()
Returns the default value for this Morpher. |
int | hashCode() |
short | morph(Object value)
Morphs the input object into an output object of the supported type.
|
Class | morphsTo() |
Parameters: defaultValue return value if the value to be morphed is null
Parameters: value The input value to be morphed
Throws: MorphException if conversion cannot be performed successfully