public class Numbers
extends java.lang.Object
| Constructor and Description | 
|---|
| Numbers() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | isDigit(char c)Returns true if the specified character is a base-10 digit. | 
| static boolean | isHexDigit(char c)Returns true if the specified character is a base-16 digit. | 
| static boolean | isNumericTypeSpecifier(char c,
                      boolean isDecimal)Returns true if the specified character is a valid type specifier
  for a numeric value. | 
| static boolean | isOctalDigit(char c)Returns true if the specific character is a base-8 digit. | 
| static java.lang.Number | parseDecimal(java.lang.String text)Builds a Number from the given decimal descriptor. | 
| static java.lang.Number | parseInteger(AST reportNode,
            java.lang.String text)Builds a Number from the given integer descriptor. | 
| static java.lang.Number | parseInteger(java.lang.String text)Deprecated.  | 
public static boolean isDigit(char c)
public static boolean isOctalDigit(char c)
public static boolean isHexDigit(char c)
public static boolean isNumericTypeSpecifier(char c,
                                             boolean isDecimal)
@Deprecated public static java.lang.Number parseInteger(java.lang.String text)
text - literal text to parsejava.lang.NumberFormatException - if the number does not fit within the type
          requested by the type specifier suffix (invalid numbers don't make
          it here)public static java.lang.Number parseInteger(AST reportNode, java.lang.String text)
reportNode - at node for error reporting in the parsertext - literal text to parsejava.lang.NumberFormatException - if the number does not fit within the type
          requested by the type specifier suffix (invalid numbers don't make
          it here)public static java.lang.Number parseDecimal(java.lang.String text)
text - literal text to parsejava.lang.NumberFormatException - if the number does not fit within the type
          requested by the type specifier suffix (invalid numbers don't make
          it here)