- java.lang.Object
-
- org.eclipse.persistence.internal.oxm.StrBuffer
-
- All Implemented Interfaces:
CharSequence
public class StrBuffer extends Object implements CharSequence
INTERNAL:Purpose: This is a non-synchronized, reusable implementation of StringBuffer.
- Author:
- mmacivor
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StrBufferappend(char[] chars, int start, int length)StrBufferappend(String str)charcharAt(int index)intlength()voidreset()CharSequencesubSequence(int start, int end)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
-
-
-
Method Detail
-
reset
public void reset()
-
append
public StrBuffer append(char[] chars, int start, int length)
-
length
public int length()
- Specified by:
lengthin interfaceCharSequence
-
toString
public String toString()
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
charAt
public char charAt(int index)
- Specified by:
charAtin interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
subSequencein interfaceCharSequence
-
-