public class Utils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
INTEGER_POOL_MAX_VALUE |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int INTEGER_POOL_MAX_VALUE
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)
Copyright © 2012. All Rights Reserved.