Class PositiveInt32Outputs
An FST Outputs<T> implementation where each output is a non-negative J2N.Numerics.Int64 value.
NOTE: This was PositiveIntOutputs in Lucene
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 sealed class PositiveInt32Outputs : Outputs<Int64>
Properties
| Improve this Doc View SourceNoOutput
Declaration
public override Int64 NoOutput { get; }
Property Value
Type | Description |
---|---|
J2N.Numerics.Int64 |
Overrides
Lucene.Net.Util.Fst.Outputs<J2N.Numerics.Int64>.NoOutput
|
Improve this Doc
View Source
Singleton
Declaration
public static PositiveInt32Outputs Singleton { get; }
Property Value
Type | Description |
---|---|
PositiveInt32Outputs |
Methods
| Improve this Doc View SourceAdd(Int64, Int64)
Declaration
public override Int64 Add(Int64 prefix, Int64 output)
Parameters
Type | Name | Description |
---|---|---|
J2N.Numerics.Int64 | prefix | |
J2N.Numerics.Int64 | output |
Returns
Type | Description |
---|---|
J2N.Numerics.Int64 |
Overrides
Lucene.Net.Util.Fst.Outputs<J2N.Numerics.Int64>.Add(J2N.Numerics.Int64, J2N.Numerics.Int64)
|
Improve this Doc
View Source
Common(Int64, Int64)
Declaration
public override Int64 Common(Int64 output1, Int64 output2)
Parameters
Type | Name | Description |
---|---|---|
J2N.Numerics.Int64 | output1 | |
J2N.Numerics.Int64 | output2 |
Returns
Type | Description |
---|---|
J2N.Numerics.Int64 |
Overrides
Lucene.Net.Util.Fst.Outputs<J2N.Numerics.Int64>.Common(J2N.Numerics.Int64, J2N.Numerics.Int64)
|
Improve this Doc
View Source
OutputToString(Int64)
Declaration
public override string OutputToString(Int64 output)
Parameters
Type | Name | Description |
---|---|---|
J2N.Numerics.Int64 | output |
Returns
Type | Description |
---|---|
System.String |
Overrides
Lucene.Net.Util.Fst.Outputs<J2N.Numerics.Int64>.OutputToString(J2N.Numerics.Int64)
|
Improve this Doc
View Source
Read(DataInput)
Declaration
public override Int64 Read(DataInput in)
Parameters
Type | Name | Description |
---|---|---|
DataInput | in |
Returns
Type | Description |
---|---|
J2N.Numerics.Int64 |
Overrides
Lucene.Net.Util.Fst.Outputs<J2N.Numerics.Int64>.Read(Lucene.Net.Store.DataInput)
|
Improve this Doc
View Source
Subtract(Int64, Int64)
Declaration
public override Int64 Subtract(Int64 output, Int64 inc)
Parameters
Type | Name | Description |
---|---|---|
J2N.Numerics.Int64 | output | |
J2N.Numerics.Int64 | inc |
Returns
Type | Description |
---|---|
J2N.Numerics.Int64 |
Overrides
Lucene.Net.Util.Fst.Outputs<J2N.Numerics.Int64>.Subtract(J2N.Numerics.Int64, J2N.Numerics.Int64)
|
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(Int64, DataOutput)
Declaration
public override void Write(Int64 output, DataOutput out)
Parameters
Type | Name | Description |
---|---|---|
J2N.Numerics.Int64 | output | |
DataOutput | out |
Overrides
Lucene.Net.Util.Fst.Outputs<J2N.Numerics.Int64>.Write(J2N.Numerics.Int64, Lucene.Net.Store.DataOutput)