jline.console.history
Interface History
- All Superinterfaces:
- Iterable<History.Entry>
- All Known Subinterfaces:
- PersistentHistory
- All Known Implementing Classes:
- FileHistory, MemoryHistory
public interface History
- extends Iterable<History.Entry>
Console history.
- Since:
- 2.3
- Author:
- Marc Prud'hommeaux, Jason Dillon
size
int size()
isEmpty
boolean isEmpty()
index
int index()
clear
void clear()
get
CharSequence get(int index)
add
void add(CharSequence line)
replace
void replace(CharSequence item)
entries
ListIterator<History.Entry> entries(int index)
entries
ListIterator<History.Entry> entries()
iterator
Iterator<History.Entry> iterator()
- Specified by:
iterator
in interface Iterable<History.Entry>
current
CharSequence current()
previous
boolean previous()
next
boolean next()
moveToFirst
boolean moveToFirst()
moveToLast
boolean moveToLast()
moveTo
boolean moveTo(int index)
moveToEnd
void moveToEnd()
Copyright © 2008-2011 Sonatype. All Rights Reserved.