Package jline.console.history
Class MemoryHistory.EntryImpl
- java.lang.Object
-
- jline.console.history.MemoryHistory.EntryImpl
-
- All Implemented Interfaces:
History.Entry
- Enclosing class:
- MemoryHistory
private static class MemoryHistory.EntryImpl extends java.lang.Object implements History.Entry
-
-
Constructor Summary
Constructors Constructor Description EntryImpl(int index, java.lang.CharSequence value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
index()
java.lang.String
toString()
java.lang.CharSequence
value()
-
-
-
Method Detail
-
index
public int index()
- Specified by:
index
in interfaceHistory.Entry
-
value
public java.lang.CharSequence value()
- Specified by:
value
in interfaceHistory.Entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-