Show / Hide Table of Contents

    Interface IIndexedSorted<T>

    A collection where items are maintained in sorted order together with their indexes in that order.

    Inherited Members
    ISorted<T>.FindMin()
    ISorted<T>.DeleteMin()
    ISorted<T>.FindMax()
    ISorted<T>.DeleteMax()
    ISorted<T>.Comparer
    ISorted<T>.TryPredecessor(T, T)
    ISorted<T>.TrySuccessor(T, T)
    ISorted<T>.TryWeakPredecessor(T, T)
    ISorted<T>.TryWeakSuccessor(T, T)
    ISorted<T>.Predecessor(T)
    ISorted<T>.Successor(T)
    ISorted<T>.WeakPredecessor(T)
    ISorted<T>.WeakSuccessor(T)
    ISorted<T>.Cut(IComparable<T>, T, Boolean, T, Boolean)
    ISorted<T>.RangeAll()
    ISorted<T>.AddSorted(System.Collections.Generic.IEnumerable<T>)
    ISorted<T>.RemoveRangeFrom(T)
    ISorted<T>.RemoveRangeFromTo(T, T)
    ISorted<T>.RemoveRangeTo(T)
    IIndexed<T>.IndexingSpeed
    IIndexed<T>.Item[Int32, Int32]
    IIndexed<T>.IndexOf(T)
    IIndexed<T>.LastIndexOf(T)
    IIndexed<T>.FindIndex(Func<T, Boolean>)
    IIndexed<T>.FindLastIndex(Func<T, Boolean>)
    IIndexed<T>.RemoveAt(Int32)
    IIndexed<T>.RemoveInterval(Int32, Int32)
    ISequenced<T>.GetSequencedHashCode()
    ISequenced<T>.SequencedEquals(ISequenced<T>)
    ICollection<T>.ContainsSpeed
    ICollection<T>.Count
    ICollection<T>.IsReadOnly
    ICollection<T>.Add(T)
    ICollection<T>.CopyTo(T[], Int32)
    ICollection<T>.GetUnsequencedHashCode()
    ICollection<T>.UnsequencedEquals(ICollection<T>)
    ICollection<T>.Contains(T)
    ICollection<T>.ContainsCount(T)
    ICollection<T>.UniqueItems()
    ICollection<T>.ItemMultiplicities()
    ICollection<T>.ContainsAll(System.Collections.Generic.IEnumerable<T>)
    ICollection<T>.Find(T)
    ICollection<T>.FindOrAdd(T)
    ICollection<T>.Update(T)
    ICollection<T>.Update(T, T)
    ICollection<T>.UpdateOrAdd(T)
    ICollection<T>.UpdateOrAdd(T, T)
    ICollection<T>.Remove(T)
    ICollection<T>.Remove(T, T)
    ICollection<T>.RemoveAllCopies(T)
    ICollection<T>.RemoveAll(System.Collections.Generic.IEnumerable<T>)
    ICollection<T>.Clear()
    ICollection<T>.RetainAll(System.Collections.Generic.IEnumerable<T>)
    IExtensible<T>.AllowsDuplicates
    IExtensible<T>.EqualityComparer
    IExtensible<T>.DuplicatesByCounting
    IExtensible<T>.AddAll(System.Collections.Generic.IEnumerable<T>)
    IExtensible<T>.Check()
    IDirectedCollectionValue<T>.Backwards()
    IDirectedCollectionValue<T>.FindLast(Func<T, Boolean>, T)
    ICollectionValue<T>.ListenableEvents
    ICollectionValue<T>.ActiveEvents
    ICollectionValue<T>.CollectionChanged
    ICollectionValue<T>.CollectionCleared
    ICollectionValue<T>.ItemsAdded
    ICollectionValue<T>.ItemInserted
    ICollectionValue<T>.ItemsRemoved
    ICollectionValue<T>.ItemRemovedAt
    ICollectionValue<T>.IsEmpty
    ICollectionValue<T>.CountSpeed
    ICollectionValue<T>.ToArray()
    ICollectionValue<T>.Apply(Action<T>)
    ICollectionValue<T>.Exists(Func<T, Boolean>)
    ICollectionValue<T>.Find(Func<T, Boolean>, T)
    ICollectionValue<T>.All(Func<T, Boolean>)
    ICollectionValue<T>.Choose()
    ICollectionValue<T>.Filter(Func<T, Boolean>)
    IShowable.Show(System.Text.StringBuilder, Int32, IFormatProvider)
    IDirectedEnumerable<T>.Direction
    IReadOnlyList<T>.Item[Int32]
    Namespace: Lucene.Net.Support.C5
    Assembly: Lucene.Net.dll
    Syntax
    public interface IIndexedSorted<T> : ISorted<T>, IIndexed<T>, ISequenced<T>, ICollection<T>, IExtensible<T>, System.Collections.Generic.ICollection<T>, IDirectedCollectionValue<T>, ICollectionValue<T>, IShowable, IFormattable, IDirectedEnumerable<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable
    Type Parameters
    Name Description
    T

    Methods

    | Improve this Doc View Source

    CountFrom(T)

    Determine the number of items at or above a supplied threshold.

    Declaration
    int CountFrom(T bot)
    Parameters
    Type Name Description
    T bot

    The lower bound (inclusive)

    Returns
    Type Description
    System.Int32

    The number of matching items.

    | Improve this Doc View Source

    CountFromTo(T, T)

    Determine the number of items between two supplied thresholds.

    Declaration
    int CountFromTo(T bot, T top)
    Parameters
    Type Name Description
    T bot

    The lower bound (inclusive)

    T top

    The upper bound (exclusive)

    Returns
    Type Description
    System.Int32

    The number of matching items.

    | Improve this Doc View Source

    CountTo(T)

    Determine the number of items below a supplied threshold.

    Declaration
    int CountTo(T top)
    Parameters
    Type Name Description
    T top

    The upper bound (exclusive)

    Returns
    Type Description
    System.Int32

    The number of matching items.

    | Improve this Doc View Source

    FindAll(Func<T, Boolean>)

    Create a new indexed sorted collection consisting of the items of this indexed sorted collection satisfying a certain predicate.

    Declaration
    IIndexedSorted<T> FindAll(Func<T, bool> predicate)
    Parameters
    Type Name Description
    Func<T, System.Boolean> predicate

    The filter delegate defining the predicate.

    Returns
    Type Description
    IIndexedSorted<T>

    The new indexed sorted collection.

    | Improve this Doc View Source

    Map<V>(Func<T, V>, System.Collections.Generic.IComparer<V>)

    Create a new indexed sorted collection consisting of the results of mapping all items of this list. if the map is not increasing over the items of this collection (with respect to the two given comparison relations).

    Declaration
    IIndexedSorted<V> Map<V>(Func<T, V> mapper, System.Collections.Generic.IComparer<V> comparer)
    Parameters
    Type Name Description
    Func<T, V> mapper

    The delegate definging the map.

    System.Collections.Generic.IComparer<V> comparer

    The comparion relation to use for the result.

    Returns
    Type Description
    IIndexedSorted<V>

    The new sorted collection.

    Type Parameters
    Name Description
    V
    | Improve this Doc View Source

    RangeFrom(T)

    Query this sorted collection for items greater than or equal to a supplied value.

    Declaration
    IDirectedCollectionValue<T> RangeFrom(T bot)
    Parameters
    Type Name Description
    T bot

    The lower bound (inclusive).

    Returns
    Type Description
    IDirectedCollectionValue<T>

    The result directed collection.

    | Improve this Doc View Source

    RangeFromTo(T, T)

    Query this sorted collection for items between two supplied values.

    Declaration
    IDirectedCollectionValue<T> RangeFromTo(T bot, T top)
    Parameters
    Type Name Description
    T bot

    The lower bound (inclusive).

    T top

    The upper bound (exclusive).

    Returns
    Type Description
    IDirectedCollectionValue<T>

    The result directed collection.

    | Improve this Doc View Source

    RangeTo(T)

    Query this sorted collection for items less than a supplied value.

    Declaration
    IDirectedCollectionValue<T> RangeTo(T top)
    Parameters
    Type Name Description
    T top

    The upper bound (exclusive).

    Returns
    Type Description
    IDirectedCollectionValue<T>

    The result directed collection.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)