Show / Hide Table of Contents

    Class TopOrdAndInt32Queue

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

    NOTE: This was TopOrdAndIntQueue in Lucene

    Inheritance
    System.Object
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>
    TopOrdAndInt32Queue
    Inherited Members
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>.GetSentinelObject()
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>.Add(TopOrdAndInt32Queue.OrdAndValue)
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>.InsertWithOverflow(TopOrdAndInt32Queue.OrdAndValue)
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>.Top
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>.Pop()
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>.UpdateTop()
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>.Count
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>.Clear()
    PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>.HeapArray
    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)
    System.Object.ToString()
    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
    Overrides
    Lucene.Net.Util.PriorityQueue<Lucene.Net.Facet.TopOrdAndInt32Queue.OrdAndValue>.LessThan(Lucene.Net.Facet.TopOrdAndInt32Queue.OrdAndValue, Lucene.Net.Facet.TopOrdAndInt32Queue.OrdAndValue)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)