|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ezmorph.object.AbstractObjectMorpher
net.sf.ezmorph.object.BigIntegerMorpher
public final class BigIntegerMorpher
Morphs to a BigInteger.
| Constructor Summary | |
|---|---|
BigIntegerMorpher()
|
|
BigIntegerMorpher(BigInteger defaultValue)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
BigInteger |
getDefaultValue()
Returns the default value for this Morpher. |
protected String |
getIntegerValue(Object obj)
Trims the String from the begining to the first "." |
int |
hashCode()
|
Object |
morph(Object value)
Morphs the input object into an output object of the supported type. |
Class |
morphsTo()
Returns the target Class for conversion. |
| Methods inherited from class net.sf.ezmorph.object.AbstractObjectMorpher |
|---|
isUseDefault, setUseDefault, supports |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BigIntegerMorpher()
public BigIntegerMorpher(BigInteger defaultValue)
defaultValue - return value if the value to be morphed is null| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic BigInteger getDefaultValue()
public int hashCode()
hashCode in class Objectpublic Object morph(Object value)
ObjectMorpher
value - The input value to be morphedpublic Class morphsTo()
Morpher
protected String getIntegerValue(Object obj)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||