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, shortValue
public 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 Number
public double doubleValue()
doubleValue
in class Number
public void recycle()
Recyclable
recycle
in interface Recyclable
Copyright © 2017. All rights reserved.