public abstract class TextBuffer extends java.lang.Object implements Buffer
| Modifier and Type | Field and Description |
|---|---|
protected int |
character
The character.
|
protected int |
length
The length.
|
protected int |
line
The line.
|
protected int |
position
The index.
|
| Constructor and Description |
|---|
TextBuffer() |
| Modifier and Type | Method and Description |
|---|---|
void |
back() |
boolean |
isEnd() |
int |
length() |
int |
position() |
int |
remaining() |
java.lang.String |
toString() |
Buffer |
withLength(int value) |
Buffer |
withPosition(int value) |
protected int length
protected int position
protected int line
protected int character
public int length()
public Buffer withPosition(int value)
withPosition in interface Bufferpublic Buffer withLength(int value)
withLength in interface Buffer