|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.util.fst.Outputs<Object> org.apache.lucene.util.fst.NoOutputs
public final class NoOutputs
A null FST Outputs
implementation; use this if
you just want to build an FSA.
Method Summary | |
---|---|
Object |
add(Object prefix,
Object output)
Eg add("foo", "bar") -> "foobar" |
Object |
common(Object output1,
Object output2)
Eg common("foo", "foobar") -> "foo" |
Object |
getNoOutput()
NOTE: this output is compared with == so you must ensure that all methods return the single object if it's really no output |
static NoOutputs |
getSingleton()
|
String |
outputToString(Object output)
|
Object |
read(DataInput in)
|
Object |
subtract(Object output,
Object inc)
Eg subtract("foobar", "foo") -> "bar" |
void |
write(Object prefix,
DataOutput out)
|
Methods inherited from class org.apache.lucene.util.fst.Outputs |
---|
merge |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NoOutputs getSingleton()
public Object common(Object output1, Object output2)
Outputs
common
in class Outputs<Object>
public Object subtract(Object output, Object inc)
Outputs
subtract
in class Outputs<Object>
public Object add(Object prefix, Object output)
Outputs
add
in class Outputs<Object>
public void write(Object prefix, DataOutput out)
write
in class Outputs<Object>
public Object read(DataInput in)
read
in class Outputs<Object>
public Object getNoOutput()
Outputs
getNoOutput
in class Outputs<Object>
public String outputToString(Object output)
outputToString
in class Outputs<Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |