public class NCmdLineHistoryImpl extends Object implements NCmdLineHistory
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
NCmdLineHistoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Instant time,
String line) |
NCmdLineHistoryEntry |
getEntry(int index) |
NPath |
getPath() |
int |
getScore(NScorableContext context) |
ListIterator<NCmdLineHistoryEntry> |
iterator(int index) |
void |
load() |
void |
load(InputStream in) |
void |
purge() |
void |
save() |
void |
save(OutputStream outs) |
NCmdLineHistory |
setPath(File path) |
NCmdLineHistory |
setPath(NPath path) |
NCmdLineHistory |
setPath(Path path) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofisValidScore, query, querypublic void load()
load in interface NCmdLineHistorypublic void save()
save in interface NCmdLineHistorypublic void load(InputStream in)
load in interface NCmdLineHistorypublic void save(OutputStream outs)
save in interface NCmdLineHistorypublic NCmdLineHistory setPath(Path path)
setPath in interface NCmdLineHistorypublic NCmdLineHistory setPath(File path)
setPath in interface NCmdLineHistorypublic NCmdLineHistory setPath(NPath path)
setPath in interface NCmdLineHistorypublic NPath getPath()
getPath in interface NCmdLineHistorypublic int size()
size in interface NCmdLineHistorypublic void purge()
purge in interface NCmdLineHistorypublic NCmdLineHistoryEntry getEntry(int index)
getEntry in interface NCmdLineHistorypublic ListIterator<NCmdLineHistoryEntry> iterator(int index)
iterator in interface NCmdLineHistorypublic void add(Instant time, String line)
add in interface NCmdLineHistorypublic int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorableCopyright © 2025 vpc open source initiative. All rights reserved.