Class FieldPhraseList.WeightedPhraseInfo.Toffs
Term offsets (start + end)
Inheritance
System.Object
FieldPhraseList.WeightedPhraseInfo.Toffs
Implements
System.IComparable<FieldPhraseList.WeightedPhraseInfo.Toffs>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Search.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class Toffs : IComparable<FieldPhraseList.WeightedPhraseInfo.Toffs>
Constructors
| Improve this Doc View SourceToffs(Int32, Int32)
Declaration
public Toffs(int startOffset, int endOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | startOffset | |
System.Int32 | endOffset |
Properties
| Improve this Doc View SourceEndOffset
Declaration
public virtual int EndOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StartOffset
Declaration
public virtual int StartOffset { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceCompareTo(FieldPhraseList.WeightedPhraseInfo.Toffs)
Declaration
public virtual int CompareTo(FieldPhraseList.WeightedPhraseInfo.Toffs other)
Parameters
Type | Name | Description |
---|---|---|
FieldPhraseList.WeightedPhraseInfo.Toffs | other |
Returns
Type | Description |
---|---|
System.Int32 |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IComparable<T>