public class CharBuffer extends DataBuffer
| Modifier and Type | Field and Description |
|---|---|
char[] |
array |
arrayObject, capacity, end, growthCap, growthMin, start| Constructor and Description |
|---|
CharBuffer()
Creates an empty char buffer.
|
CharBuffer(int size)
Creates a char buffer of the given size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(char[] stuff) |
void |
append(java.lang.String stuff) |
java.lang.String |
asString() |
void |
newArray(int size)
Allocates a new, empty array of the given size and assign it to the
arrayObject property.
|
append, clear, clone, copy, copyTo, getSize, insert, isEmpty, makeRoomFor, makeRoomFor, pack, remove, setToMatch, subsection, tidy, toStringpublic CharBuffer()
public CharBuffer(int size)
public void newArray(int size)
DataBuffernewArray in class DataBufferpublic void append(char[] stuff)
public void append(java.lang.String stuff)
public java.lang.String asString()