org.multijava.util.compiler
Class NumberParser
java.lang.Object
org.multijava.util.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)
mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.