|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.impl.StringBufferImpl
com.google.gwt.core.client.impl.StringBufferImplArrayBase
com.google.gwt.core.client.impl.StringBufferImplPush
public class StringBufferImplPush
A StringBufferImplArrayBase that uses push for
appending strings. Some external benchmarks suggest this implementation, but
in practice our measurements indication that StringBufferImplArray
has a slight edge on every browser; the performance is often very close to
StringBufferImplConcat.
| Constructor Summary | |
|---|---|
StringBufferImplPush()
|
|
| Method Summary | |
|---|---|
void |
append(java.lang.Object a,
boolean x)
Append for primitive; the value can be stored and only later converted to a string. |
void |
append(java.lang.Object a,
double x)
Append for primitive; the value can be stored and only later converted to a string. |
void |
append(java.lang.Object a,
float x)
Append for primitive; the value can be stored and only later converted to a string. |
void |
append(java.lang.Object a,
int x)
Append for primitive; the value can be stored and only later converted to a string. |
void |
appendNonNull(java.lang.Object a,
java.lang.String x)
Append for a string that is definitely not null. |
| Methods inherited from class com.google.gwt.core.client.impl.StringBufferImplArrayBase |
|---|
append, append, createData, length, replace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringBufferImplPush()
| Method Detail |
|---|
public void append(java.lang.Object a,
boolean x)
StringBufferImpl
append in class StringBufferImplArrayBase
public void append(java.lang.Object a,
double x)
StringBufferImpl
append in class StringBufferImplArrayBase
public void append(java.lang.Object a,
float x)
StringBufferImpl
append in class StringBufferImplArrayBase
public void append(java.lang.Object a,
int x)
StringBufferImpl
append in class StringBufferImplArrayBase
public void appendNonNull(java.lang.Object a,
java.lang.String x)
StringBufferImpl
appendNonNull in class StringBufferImplArrayBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||