|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number org.apache.commons.beanutils.memoryleaktests.pojotests.CustomInteger
public class CustomInteger
Custom number implementation to test with converters.
Constructor Summary | |
---|---|
CustomInteger()
Construct a new instance. |
|
CustomInteger(int i)
Construct a new instance. |
Method Summary | |
---|---|
double |
doubleValue()
Return the double value. |
float |
floatValue()
Return the float value. |
int |
intValue()
Return the integer value. |
long |
longValue()
Return the long value. |
String |
toString()
Return a String representation of this number. |
Methods inherited from class java.lang.Number |
---|
byteValue, shortValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomInteger()
public CustomInteger(int i)
i
- the integer valueMethod Detail |
---|
public double doubleValue()
doubleValue
in class Number
public float floatValue()
floatValue
in class Number
public int intValue()
intValue
in class Number
public long longValue()
longValue
in class Number
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |