|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface History
Console history.
Nested Class Summary | |
---|---|
static interface |
History.Entry
|
Method Summary | |
---|---|
void |
add(CharSequence line)
|
void |
clear()
|
CharSequence |
current()
|
ListIterator<History.Entry> |
entries()
|
ListIterator<History.Entry> |
entries(int index)
|
CharSequence |
get(int index)
|
int |
index()
|
boolean |
isEmpty()
|
Iterator<History.Entry> |
iterator()
|
boolean |
moveTo(int index)
|
void |
moveToEnd()
|
boolean |
moveToFirst()
|
boolean |
moveToLast()
|
boolean |
next()
|
boolean |
previous()
|
CharSequence |
remove(int i)
Remove the history element at the given index. |
CharSequence |
removeFirst()
Remove the first element from history. |
CharSequence |
removeLast()
Remove the last element from history |
void |
replace(CharSequence item)
|
void |
set(int index,
CharSequence item)
Set the history item at the given index to the given CharSequence. |
int |
size()
|
Method Detail |
---|
int size()
boolean isEmpty()
int index()
void clear()
CharSequence get(int index)
void add(CharSequence line)
void set(int index, CharSequence item)
index
- the index of the history offsetitem
- the new itemCharSequence remove(int i)
i
- the index of the element to remove
CharSequence removeFirst()
CharSequence removeLast()
void replace(CharSequence item)
ListIterator<History.Entry> entries(int index)
ListIterator<History.Entry> entries()
Iterator<History.Entry> iterator()
iterator
in interface Iterable<History.Entry>
CharSequence current()
boolean previous()
boolean next()
boolean moveToFirst()
boolean moveToLast()
boolean moveTo(int index)
void moveToEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |