Package com.google.gson.internal
Class LazilyParsedNumber
java.lang.Object
java.lang.Number
com.google.gson.internal.LazilyParsedNumber
- All Implemented Interfaces:
Serializable
This class holds a number value that is lazily converted to a specific number type
- Author:
- Inderjeet Singh
- See Also:
-
Constructor Details
-
LazilyParsedNumber
- Parameters:
value
- must not be null
-
-
Method Details
-
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
-
toString
-
hashCode
public int hashCode() -
equals
-