org.jbind.util.other
Class StrBuffer

java.lang.Object
  extended byorg.jbind.util.other.StrBuffer
All Implemented Interfaces:
java.io.Serializable

public class StrBuffer
extends java.lang.Object
implements java.io.Serializable

An unsynchornized copy of the java.lang.StrBuffer class.

See Also:
Serialized Form

Constructor Summary
StrBuffer()
           
StrBuffer(int length)
           
StrBuffer(java.lang.String str)
           
 
Method Summary
 StrBuffer append(boolean b)
           
 StrBuffer append(char c)
           
 StrBuffer append(char[] str)
           
 StrBuffer append(char[] str, int offset, int len)
           
 StrBuffer append(double d)
           
 StrBuffer append(float f)
           
 StrBuffer append(int i)
           
 StrBuffer append(long l)
           
 StrBuffer append(java.lang.Object obj)
           
 StrBuffer append(java.lang.String str)
           
 int capacity()
           
 char charAt(int index)
           
 StrBuffer delete(int start, int end)
           
 StrBuffer deleteCharAt(int index)
           
 void ensureCapacity(int minimumCapacity)
           
 void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
           
 StrBuffer insert(int offset, boolean b)
           
 StrBuffer insert(int offset, char c)
           
 StrBuffer insert(int offset, char[] str)
           
 StrBuffer insert(int index, char[] str, int offset, int len)
           
 StrBuffer insert(int offset, double d)
           
 StrBuffer insert(int offset, float f)
           
 StrBuffer insert(int offset, int i)
           
 StrBuffer insert(int offset, long l)
           
 StrBuffer insert(int offset, java.lang.Object obj)
           
 StrBuffer insert(int offset, java.lang.String str)
           
 int length()
           
 StrBuffer replace(int start, int end, java.lang.String str)
           
 StrBuffer reverse()
           
 void setCharAt(int index, char ch)
           
 void setLength(int newLength)
           
 java.lang.String substring(int start)
           
 java.lang.String substring(int start, int end)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StrBuffer

public StrBuffer()

StrBuffer

public StrBuffer(int length)

StrBuffer

public StrBuffer(java.lang.String str)
Method Detail

length

public int length()

capacity

public int capacity()

ensureCapacity

public void ensureCapacity(int minimumCapacity)

setLength

public void setLength(int newLength)

charAt

public char charAt(int index)

getChars

public void getChars(int srcBegin,
                     int srcEnd,
                     char[] dst,
                     int dstBegin)

setCharAt

public void setCharAt(int index,
                      char ch)

append

public StrBuffer append(java.lang.Object obj)

append

public StrBuffer append(java.lang.String str)

append

public StrBuffer append(char[] str)

append

public StrBuffer append(char[] str,
                        int offset,
                        int len)

append

public StrBuffer append(boolean b)

append

public StrBuffer append(char c)

append

public StrBuffer append(int i)

append

public StrBuffer append(long l)

append

public StrBuffer append(float f)

append

public StrBuffer append(double d)

delete

public StrBuffer delete(int start,
                        int end)

deleteCharAt

public StrBuffer deleteCharAt(int index)

replace

public StrBuffer replace(int start,
                         int end,
                         java.lang.String str)

substring

public java.lang.String substring(int start)

substring

public java.lang.String substring(int start,
                                  int end)

insert

public StrBuffer insert(int index,
                        char[] str,
                        int offset,
                        int len)

insert

public StrBuffer insert(int offset,
                        java.lang.Object obj)

insert

public StrBuffer insert(int offset,
                        java.lang.String str)

insert

public StrBuffer insert(int offset,
                        char[] str)

insert

public StrBuffer insert(int offset,
                        boolean b)

insert

public StrBuffer insert(int offset,
                        char c)

insert

public StrBuffer insert(int offset,
                        int i)

insert

public StrBuffer insert(int offset,
                        long l)

insert

public StrBuffer insert(int offset,
                        float f)

insert

public StrBuffer insert(int offset,
                        double d)

reverse

public StrBuffer reverse()

toString

public java.lang.String toString()