at.dms.compiler
Class NumberParser
java.lang.Object
at.dms.compiler.NumberParser
public class NumberParser
- extends Object
This class parse Strings to convert them to ordinal literal
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberParser
public NumberParser()
decodeLong
public static long decodeLong(String text)
decodeInt
public static int decodeInt(String text)
decodeDecLong
public static long decodeDecLong(boolean negative,
String text)
decodeHexLong
public static long decodeHexLong(boolean negative,
String text)
decodeOctLong
public static long decodeOctLong(boolean negative,
String text)
decodeHexInt
public static int decodeHexInt(boolean negative,
String text)
decodeOctInt
public static int decodeOctInt(boolean negative,
String text)