|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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 value| Method Detail |
|---|
public double doubleValue()
doubleValue in class Numberpublic float floatValue()
floatValue in class Numberpublic int intValue()
intValue in class Numberpublic long longValue()
longValue in class Numberpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||