Class PairOutputs<A, B>
An FST Outputs<T> implementation, holding two other outputs.
Note
This API is experimental and might change in incompatible ways in the next release.
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)
Namespace: Lucene.Net.Util.Fst
Assembly: Lucene.Net.dll
Syntax
public class PairOutputs<A, B> : Outputs<PairOutputs<A, B>.Pair> where A : class where B : class
Type Parameters
Name | Description |
---|---|
A | |
B |
Constructors
| Improve this Doc View SourcePairOutputs(Outputs<A>, Outputs<B>)
Declaration
public PairOutputs(Outputs<A> outputs1, Outputs<B> outputs2)
Parameters
Type | Name | Description |
---|---|---|
Outputs<A> | outputs1 | |
Outputs<B> | outputs2 |
Properties
| Improve this Doc View SourceNoOutput
Declaration
public override PairOutputs<A, B>.Pair NoOutput { get; }
Property Value
Type | Description |
---|---|
PairOutputs.Pair<> |
Overrides
Lucene.Net.Util.Fst.Outputs<Lucene.Net.Util.Fst.PairOutputs<A, B>.Pair>.NoOutput
Methods
| Improve this Doc View SourceAdd(PairOutputs<A, B>.Pair, PairOutputs<A, B>.Pair)
Declaration
public override PairOutputs<A, B>.Pair Add(PairOutputs<A, B>.Pair prefix, PairOutputs<A, B>.Pair output)
Parameters
Type | Name | Description |
---|---|---|
PairOutputs.Pair<> | prefix | |
PairOutputs.Pair<> | output |
Returns
Type | Description |
---|---|
PairOutputs.Pair<> |
Overrides
Lucene.Net.Util.Fst.Outputs<Lucene.Net.Util.Fst.PairOutputs<A, B>.Pair>.Add(Lucene.Net.Util.Fst.PairOutputs.Pair<>, Lucene.Net.Util.Fst.PairOutputs.Pair<>)
|
Improve this Doc
View Source
Common(PairOutputs<A, B>.Pair, PairOutputs<A, B>.Pair)
Declaration
public override PairOutputs<A, B>.Pair Common(PairOutputs<A, B>.Pair pair1, PairOutputs<A, B>.Pair pair2)
Parameters
Type | Name | Description |
---|---|---|
PairOutputs.Pair<> | pair1 | |
PairOutputs.Pair<> | pair2 |
Returns
Type | Description |
---|---|
PairOutputs.Pair<> |
Overrides
Lucene.Net.Util.Fst.Outputs<Lucene.Net.Util.Fst.PairOutputs<A, B>.Pair>.Common(Lucene.Net.Util.Fst.PairOutputs.Pair<>, Lucene.Net.Util.Fst.PairOutputs.Pair<>)
|
Improve this Doc
View Source
NewPair(A, B)
Create a new PairOutputs<A, B>.Pair
Declaration
public virtual PairOutputs<A, B>.Pair NewPair(A a, B b)
Parameters
Type | Name | Description |
---|---|---|
A | a | |
B | b |
Returns
Type | Description |
---|---|
PairOutputs.Pair<> |
OutputToString(PairOutputs<A, B>.Pair)
Declaration
public override string OutputToString(PairOutputs<A, B>.Pair output)
Parameters
Type | Name | Description |
---|---|---|
PairOutputs.Pair<> | output |
Returns
Type | Description |
---|---|
System.String |
Overrides
Lucene.Net.Util.Fst.Outputs<Lucene.Net.Util.Fst.PairOutputs<A, B>.Pair>.OutputToString(Lucene.Net.Util.Fst.PairOutputs.Pair<>)
|
Improve this Doc
View Source
Read(DataInput)
Declaration
public override PairOutputs<A, B>.Pair Read(DataInput in)
Parameters
Type | Name | Description |
---|---|---|
DataInput | in |
Returns
Type | Description |
---|---|
PairOutputs.Pair<> |
Overrides
Lucene.Net.Util.Fst.Outputs<Lucene.Net.Util.Fst.PairOutputs<A, B>.Pair>.Read(Lucene.Net.Store.DataInput)
|
Improve this Doc
View Source
Subtract(PairOutputs<A, B>.Pair, PairOutputs<A, B>.Pair)
Declaration
public override PairOutputs<A, B>.Pair Subtract(PairOutputs<A, B>.Pair output, PairOutputs<A, B>.Pair inc)
Parameters
Type | Name | Description |
---|---|---|
PairOutputs.Pair<> | output | |
PairOutputs.Pair<> | inc |
Returns
Type | Description |
---|---|
PairOutputs.Pair<> |
Overrides
Lucene.Net.Util.Fst.Outputs<Lucene.Net.Util.Fst.PairOutputs<A, B>.Pair>.Subtract(Lucene.Net.Util.Fst.PairOutputs.Pair<>, Lucene.Net.Util.Fst.PairOutputs.Pair<>)
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
Write(PairOutputs<A, B>.Pair, DataOutput)
Declaration
public override void Write(PairOutputs<A, B>.Pair output, DataOutput writer)
Parameters
Type | Name | Description |
---|---|---|
PairOutputs.Pair<> | output | |
DataOutput | writer |
Overrides
Lucene.Net.Util.Fst.Outputs<Lucene.Net.Util.Fst.PairOutputs<A, B>.Pair>.Write(Lucene.Net.Util.Fst.PairOutputs.Pair<>, Lucene.Net.Store.DataOutput)