Show / Hide Table of Contents

    Interface IIndexed<T>

    A sequenced collection, where indices of items in the order are maintained

    Inherited Members
    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 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

    Properties

    | Improve this Doc View Source

    IndexingSpeed

    Declaration
    Speed IndexingSpeed { get; }
    Property Value
    Type Description
    Speed
    | Improve this Doc View Source

    Item[Int32, Int32]

    Declaration
    IDirectedCollectionValue<T> this[int start, int count] { get; }
    Parameters
    Type Name Description
    System.Int32 start

    The low index of the interval (inclusive).

    System.Int32 count

    The size of the range.

    Property Value
    Type Description
    IDirectedCollectionValue<T>

    The directed collection of items in a specific index interval.

    Methods

    | Improve this Doc View Source

    FindIndex(Func<T, Boolean>)

    Check if there exists an item that satisfies a specific predicate in this collection and return the index of the first one.

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

    A delegate (Func<, > with

    R == bool
    ) defining the predicate

    Returns
    Type Description
    System.Int32

    the index, if found, a negative value else

    | Improve this Doc View Source

    FindLastIndex(Func<T, Boolean>)

    Check if there exists an item that satisfies a specific predicate in this collection and return the index of the last one.

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

    A delegate (Func<, > with

    R == bool
    ) defining the predicate

    Returns
    Type Description
    System.Int32

    the index, if found, a negative value else

    | Improve this Doc View Source

    IndexOf(T)

    Searches for an item in the list going forwards from the start.

    Declaration
    int IndexOf(T item)
    Parameters
    Type Name Description
    T item

    Item to search for.

    Returns
    Type Description
    System.Int32

    Index of item from start. A negative number if item not found, namely the one's complement of the index at which the Add operation would put the item.

    | Improve this Doc View Source

    LastIndexOf(T)

    Searches for an item in the list going backwards from the end.

    Declaration
    int LastIndexOf(T item)
    Parameters
    Type Name Description
    T item

    Item to search for.

    Returns
    Type Description
    System.Int32

    Index of of item from the end. A negative number if item not found, namely the two-complement of the index at which the Add operation would put the item.

    | Improve this Doc View Source

    RemoveAt(Int32)

    Remove the item at a specific position of the list.

    Declaration
    T RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index of the item to remove.

    Returns
    Type Description
    T

    The removed item.

    | Improve this Doc View Source

    RemoveInterval(Int32, Int32)

    Remove all items in an index interval.

    Declaration
    void RemoveInterval(int start, int count)
    Parameters
    Type Name Description
    System.Int32 start

    The index of the first item to remove.

    System.Int32 count

    The number of items to remove.

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