Class NoHistory
java.lang.Object
net.thevpc.nsh.history.NoHistory
- All Implemented Interfaces:
NshHistory
-
Constructor Summary
Constructors -
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()
-
Constructor Details
-
NoHistory
public NoHistory()
-
-
Method Details
-
getHistoryFile
- Specified by:
getHistoryFilein interfaceNshHistory
-
setHistoryFile
- Specified by:
setHistoryFilein interfaceNshHistory
-
add
- Specified by:
addin interfaceNshHistory
-
removeDuplicates
public void removeDuplicates()- Specified by:
removeDuplicatesin interfaceNshHistory
-
getElements
- Specified by:
getElementsin interfaceNshHistory
-
getElements
- Specified by:
getElementsin interfaceNshHistory
-
size
public int size()- Specified by:
sizein interfaceNshHistory
-
clear
public void clear()- Specified by:
clearin interfaceNshHistory
-
remove
public void remove(int index) - Specified by:
removein interfaceNshHistory
-
load
public void load()- Specified by:
loadin interfaceNshHistory
-
load
- Specified by:
loadin interfaceNshHistory
-
load
- Specified by:
loadin interfaceNshHistory
-
save
public void save()- Specified by:
savein interfaceNshHistory
-
save
- Specified by:
savein interfaceNshHistory
-
save
- Specified by:
savein interfaceNshHistory
-
save
- Specified by:
savein interfaceNshHistory
-
append
- Specified by:
appendin interfaceNshHistory
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceNshHistory
-
get
- Specified by:
getin interfaceNshHistory
-
getLast
- Specified by:
getLastin interfaceNshHistory
-