public abstract class Number extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected static JavaScriptObject |
floatRegex
Stores a regular expression object to verify format of float values.
|
Constructor and Description |
---|
Number() |
Modifier and Type | Method and Description |
---|---|
protected static long |
__decodeAndValidateInt(String s,
int lowerBound,
int upperBound) |
protected static java.lang.Number.__Decode |
__decodeNumberString(String s) |
protected static double |
__parseAndValidateDouble(String s) |
protected static int |
__parseAndValidateInt(String s,
int radix,
int lowerBound,
int upperBound) |
protected static long |
__parseAndValidateLong(String s,
int radix) |
byte |
byteValue() |
abstract double |
doubleValue() |
abstract float |
floatValue() |
abstract int |
intValue() |
abstract long |
longValue() |
short |
shortValue() |
protected static JavaScriptObject floatRegex
protected static long __decodeAndValidateInt(String s, int lowerBound, int upperBound) throws NumberFormatException
NumberFormatException
protected static java.lang.Number.__Decode __decodeNumberString(String s)
protected static double __parseAndValidateDouble(String s) throws NumberFormatException
NumberFormatException
protected static int __parseAndValidateInt(String s, int radix, int lowerBound, int upperBound) throws NumberFormatException
NumberFormatException
protected static long __parseAndValidateLong(String s, int radix) throws NumberFormatException
NumberFormatException
public byte byteValue()
public abstract double doubleValue()
public abstract float floatValue()
public abstract int intValue()
public abstract long longValue()
public short shortValue()
Copyright © 2018. All rights reserved.