public final class LongMorpher extends AbstractIntegerMorpher
Constructor and Description |
---|
LongMorpher() |
LongMorpher(long defaultValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getDefaultValue()
Returns the default value for this Morpher.
|
int |
hashCode() |
long |
morph(Object value)
Morphs the input object into an output object of the supported type.
|
Class |
morphsTo()
Returns the target Class for conversion.
|
getIntegerValue
isUseDefault, supports
public LongMorpher()
public LongMorpher(long defaultValue)
defaultValue
- return value if the value to be morphed is nullpublic long getDefaultValue()
public long morph(Object value)
value
- The input value to be morphedMorphException
- if conversion cannot be performed successfullyCopyright © 2006–2021. All rights reserved.