|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.util.StringBundler
public class StringBundler
See http://issues.liferay.com/browse/LPS-6072.
| Field Summary | |
|---|---|
static int |
UNSAFE_CREATE_THRESHOLD
|
| Constructor Summary | |
|---|---|
StringBundler()
|
|
StringBundler(int initialCapacity)
|
|
StringBundler(String s)
|
|
StringBundler(String[] stringArray)
|
|
StringBundler(String[] stringArray,
int extraSpace)
|
|
| Method Summary | |
|---|---|
StringBundler |
append(boolean b)
|
StringBundler |
append(char c)
|
StringBundler |
append(char[] charArray)
|
StringBundler |
append(double d)
|
StringBundler |
append(float f)
|
StringBundler |
append(int i)
|
StringBundler |
append(long l)
|
StringBundler |
append(Object obj)
|
StringBundler |
append(String s)
|
StringBundler |
append(String[] stringArray)
|
StringBundler |
append(StringBundler sb)
|
int |
capacity()
|
protected void |
expandCapacity(int newCapacity)
|
int |
index()
|
int |
length()
|
protected String |
safeCreate(String[] array,
int index,
int length)
|
void |
setIndex(int newIndex)
|
void |
setStringAt(String s,
int index)
|
String |
stringAt(int index)
|
String |
toString()
|
protected String |
unsafeCreate(String[] array,
int index,
int length)
|
void |
writeTo(Writer writer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UNSAFE_CREATE_THRESHOLD
| Constructor Detail |
|---|
public StringBundler()
public StringBundler(int initialCapacity)
public StringBundler(String s)
public StringBundler(String[] stringArray)
public StringBundler(String[] stringArray,
int extraSpace)
| Method Detail |
|---|
public StringBundler append(boolean b)
public StringBundler append(char c)
public StringBundler append(char[] charArray)
public StringBundler append(double d)
public StringBundler append(float f)
public StringBundler append(int i)
public StringBundler append(long l)
public StringBundler append(Object obj)
public StringBundler append(String s)
public StringBundler append(String[] stringArray)
public StringBundler append(StringBundler sb)
public int capacity()
public int index()
public int length()
public void setIndex(int newIndex)
public void setStringAt(String s,
int index)
public String stringAt(int index)
public String toString()
toString in class Object
public void writeTo(Writer writer)
throws IOException
IOExceptionprotected void expandCapacity(int newCapacity)
protected String safeCreate(String[] array,
int index,
int length)
protected String unsafeCreate(String[] array,
int index,
int length)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||