Show / Hide Table of Contents

    Class TopOrdAndInt32Queue

    Keeps highest results, first by largest value, then tie break by smallest ord.

    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 Source

    TopOrdAndInt32Queue(Int32)

    Sole constructor.

    Declaration
    public TopOrdAndInt32Queue(int topN)
    Parameters
    Type Name Description
    System.Int32 topN

    Methods

    | Improve this Doc View Source

    LessThan(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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)