Class TopOrdAndInt32Queue
Keeps highest results, first by largest
NOTE: This was TopOrdAndIntQueue in Lucene
Inheritance
System.Object
TopOrdAndInt32Queue
Namespace: Lucene.Net.Facet
Assembly: Lucene.Net.Facet.dll
Syntax
public class TopOrdAndInt32Queue : PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>
Constructors
| Improve this Doc View SourceTopOrdAndInt32Queue(Int32)
Sole constructor.
Declaration
public TopOrdAndInt32Queue(int topN)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | topN |
Methods
| Improve this Doc View SourceLessThan(TopOrdAndInt32Queue.OrdAndValue, TopOrdAndInt32Queue.OrdAndValue)
Declaration
protected override bool LessThan(TopOrdAndInt32Queue.OrdAndValue a, TopOrdAndInt32Queue.OrdAndValue b)
Parameters
| Type | Name | Description |
|---|---|---|
| TopOrdAndInt32Queue.OrdAndValue | a | |
| TopOrdAndInt32Queue.OrdAndValue | b |
Returns
| Type | Description |
|---|---|
| System.Boolean |