public class RecyclableNumber extends 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) |
byteValue, shortValuepublic void setValue(int value)
public void setValue(long value)
public void setValue(float value)
public void setValue(double value)
public float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic void recycle()
Recyclablerecycle in interface RecyclableCopyright © 2016. All rights reserved.