cc.plural.jsonij
Class JSON.Numeric

java.lang.Object
  extended by cc.plural.jsonij.Value
      extended by cc.plural.jsonij.NumericImp
          extended by cc.plural.jsonij.JSON.Numeric
All Implemented Interfaces:
Serializable, Comparable<Value>
Enclosing class:
JSON

public static class JSON.Numeric
extends NumericImp

JSON Numeric. Wrapper for NumericImp.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class cc.plural.jsonij.Value
Value.TYPE
 
Field Summary
 
Fields inherited from class cc.plural.jsonij.NumericImp
internalNumberData
 
Fields inherited from class cc.plural.jsonij.Value
valueType
 
Constructor Summary
JSON.Numeric(double value)
           
JSON.Numeric(int value)
          Default Constructor.
JSON.Numeric(long value)
           
JSON.Numeric(Number numberValue)
           
 
Method Summary
 
Methods inherited from class cc.plural.jsonij.NumericImp
byteValue, doubleValue, equals, floatValue, getNumber, hashCode, internalType, intValue, longValue, nestedSize, shortValue, toJSON
 
Methods inherited from class cc.plural.jsonij.Value
compareTo, get, get, getBoolean, getDouble, getInt, getString, getValueType, has, isNull, size, toString, type, valueKeySet
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSON.Numeric

public JSON.Numeric(int value)
Default Constructor.

Parameters:
n - The java.lang.Number Value.

JSON.Numeric

public JSON.Numeric(long value)

JSON.Numeric

public JSON.Numeric(double value)

JSON.Numeric

public JSON.Numeric(Number numberValue)


Copyright © 2012. All Rights Reserved.