Class FuzzyScorer.ScoredEntry
java.lang.Object
org.aesh.readline.fuzzy.FuzzyScorer.ScoredEntry
- Enclosing class:
FuzzyScorer
A scored entry: an input text with its fuzzy match result and original index.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intIndex in the deduplicated list (0 = most recent).final FuzzyResultThe fuzzy match result.final int[]The entry text as code points.final longTimestamp (epoch millis) when the entry was added, or -1 if unknown. -
Constructor Summary
ConstructorsConstructorDescriptionScoredEntry(int index, int[] text, FuzzyResult match) ScoredEntry(int index, int[] text, FuzzyResult match, long timestamp) -
Method Summary
-
Field Details
-
index
public final int indexIndex in the deduplicated list (0 = most recent). -
text
public final int[] textThe entry text as code points. -
match
The fuzzy match result. -
timestamp
public final long timestampTimestamp (epoch millis) when the entry was added, or -1 if unknown.
-
-
Constructor Details
-
ScoredEntry
-
ScoredEntry
-