public class RecyclableNumber extends java.lang.Number implements Recyclable
| Constructor and Description |
|---|
RecyclableNumber() |
| Modifier and Type | Method and Description |
|---|---|
double |
doubleValue() |
float |
floatValue() |
int |
intValue() |
long |
longValue() |
void |
recycle()
Free any internal resources and reset the state of the object to enable reuse.
|
void |
setValue(double value) |
void |
setValue(float value) |
void |
setValue(int value) |
void |
setValue(long value) |
public void setValue(int value)
public void setValue(long value)
public void setValue(float value)
public void setValue(double value)
public int intValue()
intValue in class java.lang.Numberpublic long longValue()
longValue in class java.lang.Numberpublic float floatValue()
floatValue in class java.lang.Numberpublic double doubleValue()
doubleValue in class java.lang.Numberpublic void recycle()
Recyclablerecycle in interface Recyclable