Interface NshHistory
- All Known Implementing Classes:
AbstractNshHistory,DefaultNshHistory,NoHistory
public interface NshHistory
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidappend(NshHistory other) voidclear()get(int index) getElements(int maxElements) getLast()booleanisEmpty()voidload()voidvoidvoidremove(int index) voidvoidsave()voidsave(PrintStream writer) voidsave(PrintWriter writer) voidsetHistoryFile(NPath historyFile) intsize()
-
Method Details
-
getHistoryFile
NPath getHistoryFile() -
setHistoryFile
-
add
-
removeDuplicates
void removeDuplicates() -
getElements
-
getElements
-
size
int size() -
clear
void clear() -
remove
void remove(int index) -
load
void load() -
load
-
load
-
save
void save() -
save
-
save
-
save
-
append
-
isEmpty
boolean isEmpty() -
get
-
getLast
String getLast()
-