org.apache.lucene.search.suggest.fst
Class FSTCompletion.Completion

java.lang.Object
  extended by org.apache.lucene.search.suggest.fst.FSTCompletion.Completion
All Implemented Interfaces:
Comparable<FSTCompletion.Completion>
Enclosing class:
FSTCompletion

public static final class FSTCompletion.Completion
extends Object
implements Comparable<FSTCompletion.Completion>

A single completion for a given key.


Field Summary
 int bucket
           
 BytesRef utf8
           
 
Method Summary
 int compareTo(FSTCompletion.Completion o)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

utf8

public final BytesRef utf8

bucket

public final int bucket
Method Detail

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(FSTCompletion.Completion o)
Specified by:
compareTo in interface Comparable<FSTCompletion.Completion>
See Also:
BytesRef.compareTo(BytesRef)