|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.antlr.misc.Utils
public class Utils
Field Summary | |
---|---|
static int |
INTEGER_POOL_MAX_VALUE
|
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static java.lang.Integer |
integer(int x)
Integer objects are immutable so share all Integers with the same value up to some max size. |
static java.lang.String |
replace(java.lang.String src,
java.lang.String replacee,
java.lang.String replacer)
Given a source string, src, a string to replace, replacee, and a string to replace with, replacer, return a new string w/ the replacing done. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INTEGER_POOL_MAX_VALUE
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static java.lang.Integer integer(int x)
public static java.lang.String replace(java.lang.String src, java.lang.String replacee, java.lang.String replacer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |