Search Results for

    Show / Hide Table of Contents

    Class KeyValuePocketRefComparer<TKey, TValue>

    Inheritance
    object
    KeyValuePocketRefComparer<TKey, TValue>
    Implements
    IRefComparer<KeyValuePocket<TKey, TValue>>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.WAL
    Assembly: ZoneTree.dll
    Syntax
    public sealed class KeyValuePocketRefComparer<TKey, TValue> : IRefComparer<KeyValuePocket<TKey, TValue>>
    Type Parameters
    Name Description
    TKey
    TValue

    Constructors

    | Improve this Doc View Source

    KeyValuePocketRefComparer(IRefComparer<TKey>)

    Declaration
    public KeyValuePocketRefComparer(IRefComparer<TKey> comparer)
    Parameters
    Type Name Description
    IRefComparer<TKey> comparer

    Properties

    | Improve this Doc View Source

    Comparer

    Declaration
    public IRefComparer<TKey> Comparer { get; }
    Property Value
    Type Description
    IRefComparer<TKey>

    Methods

    | Improve this Doc View Source

    Compare(in KeyValuePocket<TKey, TValue>, in KeyValuePocket<TKey, TValue>)

    Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

    Declaration
    public int Compare(in KeyValuePocket<TKey, TValue> x, in KeyValuePocket<TKey, TValue> y)
    Parameters
    Type Name Description
    KeyValuePocket<TKey, TValue> x

    The first key

    KeyValuePocket<TKey, TValue> y

    The second key

    Returns
    Type Description
    int

    -1 (x < y), 0 (x == y) or 1 (x > y)

    Implements

    IRefComparer<TKey>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io