|
EZ JSON by Nathanaël Cottin |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ezjson.JSONInteger
public final class JSONInteger
A JSON integer is a kind of JSON number which holds an integer value. It is not defined by the JSON specification but has a programmatical interest
Constructor Summary | |
---|---|
JSONInteger()
Creates a JSON integer with initial value set to 0 |
|
JSONInteger(int value)
|
Method Summary | |
---|---|
int |
getValue()
|
boolean |
isInteger()
Indicates that the internal value is limited to an integer value (i.e. decimals are not allowed) |
void |
setValue(int value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSONInteger()
public JSONInteger(int value)
Method Detail |
---|
public boolean isInteger()
isInteger
in interface JSONNumber
public int getValue()
public void setValue(int value)
|
EZ JSON by Nathanaël Cottin |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |