Class StrBuffer
- 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 StrBuffer
append(char[] chars, int start, int length)
StrBuffer
append(String str)
char
charAt(int index)
int
length()
void
reset()
CharSequence
subSequence(int start, int end)
String
toString()
-
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:
length
in interfaceCharSequence
-
toString
public String toString()
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfaceCharSequence
-
-