com.google.gson.internal
Class LazilyParsedNumber
java.lang.Object
java.lang.Number
com.google.gson.internal.LazilyParsedNumber
- All Implemented Interfaces:
- Serializable
public final class LazilyParsedNumber
- extends Number
This class holds a number value that is lazily converted to a specific number type
- Author:
- Inderjeet Singh
- See Also:
- Serialized Form
LazilyParsedNumber
public LazilyParsedNumber(String value)
intValue
public int intValue()
- Specified by:
intValue in class Number
longValue
public long longValue()
- Specified by:
longValue in class Number
floatValue
public float floatValue()
- Specified by:
floatValue in class Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue in class Number
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.