LazilyParsedNumber
Date: 2016-11-03

com.google.gson.internal

## Class LazilyParsedNumber

- java.lang.Object
- - java.lang.Number
  - - com.google.gson.internal.LazilyParsedNumber

- All Implemented Interfaces:
    java.io.Serializable

      public final class LazilyParsedNumber
      extends java.lang.Number

  This class holds a number value that is lazily converted to a specific number type
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LazilyParsedNumber(java.lang.String value)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `doubleValue()`
    `boolean` | `equals(java.lang.Object obj)`
    `float` | `floatValue()`
    `int` | `hashCode()`
    `int` | `intValue()`
    `long` | `longValue()`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Number

      `byteValue, shortValue`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### LazilyParsedNumber

          public LazilyParsedNumber(java.lang.String value)

      Parameters:
        `value` - must not be null

  - ### Method Detail

    - #### intValue

          public int intValue()

      Specified by:
        `intValue` in class `java.lang.Number`

    - #### longValue

          public long longValue()

      Specified by:
        `longValue` in class `java.lang.Number`

    - #### floatValue

          public float floatValue()

      Specified by:
        `floatValue` in class `java.lang.Number`

    - #### doubleValue

          public double doubleValue()

      Specified by:
        `doubleValue` in class `java.lang.Number`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`