Class Outputs<T>
Represents the outputs for an FST, providing the basic
algebra required for building and traversing the FST.
Note that any operation that returns NO_OUTPUT must
return the same singleton object from
NoOutput.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
Outputs<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Lucene.Net.dll
Syntax
public abstract class Outputs<T>
Type Parameters
Properties
|
Improve this Doc
View Source
NoOutput
NOTE: this output is compared with == so you must
ensure that all methods return the single object if
it's really no output
Declaration
public abstract T NoOutput { get; }
Property Value
Methods
|
Improve this Doc
View Source
Add(T, T)
Eg add("foo", "bar") -> "foobar"
Declaration
public abstract T Add(T prefix, T output)
Parameters
Type |
Name |
Description |
T |
prefix |
|
T |
output |
|
Returns
|
Improve this Doc
View Source
Common(T, T)
Eg common("foobar", "food") -> "foo"
Declaration
public abstract T Common(T output1, T output2)
Parameters
Type |
Name |
Description |
T |
output1 |
|
T |
output2 |
|
Returns
|
Improve this Doc
View Source
Merge(T, T)
Declaration
public virtual T Merge(T first, T second)
Parameters
Type |
Name |
Description |
T |
first |
|
T |
second |
|
Returns
|
Improve this Doc
View Source
OutputToString(T)
Declaration
public abstract string OutputToString(T output)
Parameters
Type |
Name |
Description |
T |
output |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public abstract T Read(DataInput in)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual T ReadFinalOutput(DataInput in)
Parameters
Returns
|
Improve this Doc
View Source
Subtract(T, T)
Eg subtract("foobar", "foo") -> "bar"
Declaration
public abstract T Subtract(T output, T inc)
Parameters
Type |
Name |
Description |
T |
output |
|
T |
inc |
|
Returns
|
Improve this Doc
View Source
Write(T, DataOutput)
Declaration
public abstract void Write(T output, DataOutput out)
Parameters
|
Improve this Doc
View Source
WriteFinalOutput(T, DataOutput)
Declaration
public virtual void WriteFinalOutput(T output, DataOutput out)
Parameters
Extension Methods