Class Overview
A StringBufferImpl
that uses an array and an explicit length for
appending strings. Note that the length of the array is stored as a property
of the underlying JavaScriptObject because making it a field on this object
causes difficulty with inlining. This is the best implementation on IE, and
generally second best on all other browsers, making it the best default when
the user agent is unknown.
Summary
[Expand]
Inherited Methods |
From class
com.google.gwt.core.client.impl.StringBufferImplArrayBase
void
|
append(Object a, float x)
Append for primitive; the value can be stored and only later converted to a
string.
|
void
|
append(Object a, double x)
Append for primitive; the value can be stored and only later converted to a
string.
|
void
|
append(Object a, int x)
Append for primitive; the value can be stored and only later converted to a
string.
|
void
|
append(Object a, boolean x)
Append for primitive; the value can be stored and only later converted to a
string.
|
final
void
|
append(Object a, Object x)
Append for object.
|
void
|
append(Object a, String x)
Append for a possibly null string object.
|
void
|
appendNonNull(Object a, String x)
Append for a string that is definitely not null.
|
final
Object
|
createData()
Returns a data holder object for use with subsequent calls.
|
int
|
length(Object a)
Returns the current length of the string buffer.
|
final
void
|
replace(Object a, int start, int end, String toInsert)
Replaces a segment of the string buffer.
|
String
|
takeString(Object a)
|
final
String
|
toString(Object a)
Returns the string buffer as a String.
|
|
From class
com.google.gwt.core.client.impl.StringBufferImpl
abstract
void
|
append(Object data, float x)
Append for primitive; the value can be stored and only later converted to a
string.
|
abstract
void
|
append(Object data, double x)
Append for primitive; the value can be stored and only later converted to a
string.
|
abstract
void
|
append(Object data, int x)
Append for primitive; the value can be stored and only later converted to a
string.
|
abstract
void
|
append(Object data, boolean x)
Append for primitive; the value can be stored and only later converted to a
string.
|
abstract
void
|
append(Object data, Object x)
Append for object.
|
abstract
void
|
append(Object data, String x)
Append for a possibly null string object.
|
abstract
void
|
appendNonNull(Object data, String x)
Append for a string that is definitely not null.
|
abstract
Object
|
createData()
Returns a data holder object for use with subsequent calls.
|
abstract
int
|
length(Object data)
Returns the current length of the string buffer.
|
abstract
void
|
replace(Object data, int start, int end, String toInsert)
Replaces a segment of the string buffer.
|
abstract
String
|
toString(Object data)
Returns the string buffer as a String.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
StringBufferImplArray
()