Package | Description |
---|---|
java.lang |
Core Java classes
|
java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
tijos.framework.util.json |
JSON-java suppport
|
Modifier and Type | Class and Description |
---|---|
class |
Byte
Wrapper class for bytes.
|
class |
Double
Minimal Double implementation.
|
class |
Float
Minimal Float implementation.
|
class |
Integer
Minimal Integer implementation that supports converting an int to a String.
|
class |
Long
Wrapper class for long integers.
|
class |
Short
Wrapper class for shorts.
|
Modifier and Type | Method and Description |
---|---|
Number |
NumberFormat.parse(String source)
Parses text from the beginning of the given string to produce a number.
|
abstract Number |
NumberFormat.parse(String source,
ParsePosition parsePosition)
Returns a Long if possible (e.g., within the range [Long.MIN_VALUE,
Long.MAX_VALUE] and with no decimals), otherwise a Double.
|
Number |
DecimalFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Number . |
Modifier and Type | Method and Description |
---|---|
static String |
JSONObject.numberToString(Number number)
Produce a string from a Number.
|