public class

StringBufferImplPush

extends StringBufferImplArrayBase
java.lang.Object
   ↳ com.google.gwt.core.client.impl.StringBufferImpl
     ↳ com.google.gwt.core.client.impl.StringBufferImplArrayBase
       ↳ com.google.gwt.core.client.impl.StringBufferImplPush

Class Overview

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.

Summary

Public Constructors
StringBufferImplPush()
Public Methods
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.
void appendNonNull(Object a, String x)
Append for a string that is definitely not null.
[Expand]
Inherited Methods
From class com.google.gwt.core.client.impl.StringBufferImplArrayBase
From class com.google.gwt.core.client.impl.StringBufferImpl
From class java.lang.Object

Public Constructors

public StringBufferImplPush ()

Public Methods

public void append (Object a, float x)

Append for primitive; the value can be stored and only later converted to a string.

public void append (Object a, double x)

Append for primitive; the value can be stored and only later converted to a string.

public void append (Object a, int x)

Append for primitive; the value can be stored and only later converted to a string.

public void append (Object a, boolean x)

Append for primitive; the value can be stored and only later converted to a string.

public void appendNonNull (Object a, String x)

Append for a string that is definitely not null.