public final class IntArrayMorpher extends AbstractArrayMorpher
| Modifier and Type | Field and Description |
|---|---|
private int |
defaultValue |
private static java.lang.Class |
INT_ARRAY_CLASS |
| Constructor and Description |
|---|
IntArrayMorpher() |
IntArrayMorpher(int defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getDefaultValue()
Returns the default value for this Morpher.
|
int |
hashCode() |
java.lang.Object |
morph(java.lang.Object array)
Morphs the input object into an output object of the supported type.
|
java.lang.Class |
morphsTo()
Returns the target Class for conversion.
|
createDimensions, getDimensions, isUseDefault, setUseDefault, supportsprivate static final java.lang.Class INT_ARRAY_CLASS
private int defaultValue
public IntArrayMorpher()
public IntArrayMorpher(int defaultValue)
defaultValue - return value if the value to be morphed is nullpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int getDefaultValue()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object morph(java.lang.Object array)
ObjectMorpherarray - The input value to be morphedpublic java.lang.Class morphsTo()
Morpher