net.sf.ezmorph.primitive
public final class IntMorpher extends AbstractIntegerMorpher
| Constructor Summary | |
|---|---|
| IntMorpher() | |
| IntMorpher(int defaultValue) | |
| Method Summary | |
|---|---|
| boolean | equals(Object obj) |
| int | getDefaultValue()
Returns the default value for this Morpher. |
| int | hashCode() |
| int | 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