Package org.apache.lucene.util.fst
Class Util.MinResult<T>
- java.lang.Object
-
- org.apache.lucene.util.fst.Util.MinResult<T>
-
- All Implemented Interfaces:
Comparable<Util.MinResult<T>>
- Enclosing class:
- Util
public static final class Util.MinResult<T> extends Object implements Comparable<Util.MinResult<T>>
Holds a single input (IntsRef) + output, returned byUtil.shortestPaths(org.apache.lucene.util.fst.FST<T>, org.apache.lucene.util.fst.FST.Arc<T>, java.util.Comparator<T>, int)
.
-
-
Constructor Summary
Constructors Constructor Description MinResult(IntsRef input, T output, Comparator<T> comparator)
-
-
-
Constructor Detail
-
MinResult
public MinResult(IntsRef input, T output, Comparator<T> comparator)
-
-
Method Detail
-
compareTo
public int compareTo(Util.MinResult<T> other)
- Specified by:
compareTo
in interfaceComparable<T>
-
-