public class Utils extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
INTEGER_POOL_MAX_VALUE |
Constructor | Description |
---|---|
Utils() |
Modifier and Type | Method | Description |
---|---|---|
static Integer |
integer(int x) |
Integer objects are immutable so share all Integers with the
same value up to some max size.
|
static String |
replace(String src,
String replacee,
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.
|
public static final int INTEGER_POOL_MAX_VALUE
public static Integer integer(int x)
public static String replace(String src, String replacee, String replacer)
Copyright © 1992–2019 ANTLR. All rights reserved.