public class NoHistory extends Object implements NshHistory
| Constructor and Description |
|---|
NoHistory() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String e) |
void |
append(NshHistory other) |
void |
clear() |
String |
get(int index) |
List<String> |
getElements() |
List<String> |
getElements(int maxElements) |
net.thevpc.nuts.io.NPath |
getHistoryFile() |
String |
getLast() |
boolean |
isEmpty() |
void |
load() |
void |
load(net.thevpc.nuts.io.NPath reader) |
void |
load(Reader reader) |
void |
remove(int index) |
void |
removeDuplicates() |
void |
save() |
void |
save(net.thevpc.nuts.io.NPath writer) |
void |
save(PrintStream writer) |
void |
save(PrintWriter writer) |
NshHistory |
setHistoryFile(net.thevpc.nuts.io.NPath historyFile) |
int |
size() |
public net.thevpc.nuts.io.NPath getHistoryFile()
getHistoryFile in interface NshHistorypublic NshHistory setHistoryFile(net.thevpc.nuts.io.NPath historyFile)
setHistoryFile in interface NshHistorypublic void add(String e)
add in interface NshHistorypublic void removeDuplicates()
removeDuplicates in interface NshHistorypublic List<String> getElements()
getElements in interface NshHistorypublic List<String> getElements(int maxElements)
getElements in interface NshHistorypublic int size()
size in interface NshHistorypublic void clear()
clear in interface NshHistorypublic void remove(int index)
remove in interface NshHistorypublic void load()
load in interface NshHistorypublic void load(net.thevpc.nuts.io.NPath reader)
load in interface NshHistorypublic void load(Reader reader)
load in interface NshHistorypublic void save()
save in interface NshHistorypublic void save(net.thevpc.nuts.io.NPath writer)
save in interface NshHistorypublic void save(PrintWriter writer)
save in interface NshHistorypublic void save(PrintStream writer)
save in interface NshHistorypublic void append(NshHistory other)
append in interface NshHistorypublic boolean isEmpty()
isEmpty in interface NshHistorypublic String get(int index)
get in interface NshHistorypublic String getLast()
getLast in interface NshHistoryCopyright © 2026 vpc open source initiative. All rights reserved.