Util.MinResult (Lucene 3.6.2 API)
Keywords: org.apache.lucene.util.fst.Util.MinResult class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 by `Util.shortestPaths(org.apache.lucene.util.fst.FST, org.apache.lucene.util.fst.FST.Arc, java.util.Comparator, int)`.

Field Summary
`IntsRef` | `input`
`T` | `output`

Constructor Summary
`Util.MinResult(IntsRef input, T output, Comparator<T> comparator)`

Method Summary
`int` | `compareTo(Util.MinResult<T> other)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### input

    public final IntsRef input

### output

    public final T output

Constructor Detail

### Util.MinResult

    public Util.MinResult(IntsRef input,
                          T output,
                          Comparator<T> comparator)

Method Detail

### compareTo

    public int compareTo(Util.MinResult<T> other)

  Specified by:
    `compareTo` in interface `Comparable<Util.MinResult<T>>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD