Show / Hide Table of Contents

    Class DirectedCollectionBase<T>

    Inheritance
    System.Object
    EnumerableBase<T>
    CollectionValueBase<T>
    CollectionBase<T>
    DirectedCollectionBase<T>
    SequencedBase<T>
    Implements
    IDirectedCollectionValue<T>
    ICollectionValue<T>
    IShowable
    IFormattable
    IDirectedEnumerable<T>
    System.Collections.Generic.IEnumerable<T>
    Inherited Members
    CollectionBase<T>.isReadOnlyBase
    CollectionBase<T>.stamp
    CollectionBase<T>.size
    CollectionBase<T>.itemequalityComparer
    CollectionBase<T>.checkRange(Int32, Int32)
    CollectionBase<T>.ComputeHashCode(ICollectionValue<T>, System.Collections.Generic.IEqualityComparer<T>)
    CollectionBase<T>.StaticEquals(ICollection<T>, ICollection<T>, System.Collections.Generic.IEqualityComparer<T>)
    CollectionBase<T>.GetUnsequencedHashCode()
    CollectionBase<T>.UnsequencedEquals(ICollection<T>)
    CollectionBase<T>.modifycheck(Int32)
    CollectionBase<T>.updatecheck()
    CollectionBase<T>.IsReadOnly
    CollectionBase<T>.Count
    CollectionBase<T>.CountSpeed
    CollectionBase<T>.EqualityComparer
    CollectionBase<T>.IsEmpty
    CollectionValueBase<T>.ListenableEvents
    CollectionValueBase<T>.ActiveEvents
    CollectionValueBase<T>.CollectionChanged
    CollectionValueBase<T>.raiseCollectionChanged()
    CollectionValueBase<T>.CollectionCleared
    CollectionValueBase<T>.raiseCollectionCleared(Boolean, Int32)
    CollectionValueBase<T>.raiseCollectionCleared(Boolean, Int32, Nullable<Int32>)
    CollectionValueBase<T>.ItemsAdded
    CollectionValueBase<T>.raiseItemsAdded(T, Int32)
    CollectionValueBase<T>.ItemsRemoved
    CollectionValueBase<T>.raiseItemsRemoved(T, Int32)
    CollectionValueBase<T>.ItemInserted
    CollectionValueBase<T>.raiseItemInserted(T, Int32)
    CollectionValueBase<T>.ItemRemovedAt
    CollectionValueBase<T>.raiseItemRemovedAt(T, Int32)
    CollectionValueBase<T>.raiseForSetThis(Int32, T, T)
    CollectionValueBase<T>.raiseForInsert(Int32, T)
    CollectionValueBase<T>.raiseForRemove(T)
    CollectionValueBase<T>.raiseForRemove(T, Int32)
    CollectionValueBase<T>.raiseForRemoveAt(Int32, T)
    CollectionValueBase<T>.raiseForUpdate(T, T)
    CollectionValueBase<T>.raiseForUpdate(T, T, Int32)
    CollectionValueBase<T>.raiseForAdd(T)
    CollectionValueBase<T>.raiseForRemoveAll(ICollectionValue<T>)
    CollectionValueBase<T>.CopyTo(T[], Int32)
    CollectionValueBase<T>.ToArray()
    CollectionValueBase<T>.Apply(Action<T>)
    CollectionValueBase<T>.Exists(Func<T, Boolean>)
    CollectionValueBase<T>.Find(Func<T, Boolean>, T)
    CollectionValueBase<T>.All(Func<T, Boolean>)
    CollectionValueBase<T>.Filter(Func<T, Boolean>)
    CollectionValueBase<T>.Choose()
    CollectionValueBase<T>.Show(System.Text.StringBuilder, Int32, IFormatProvider)
    CollectionValueBase<T>.ToString(String, IFormatProvider)
    CollectionValueBase<T>.ToString()
    EnumerableBase<T>.GetEnumerator()
    EnumerableBase<T>.countItems(System.Collections.Generic.IEnumerable<T>)
    Namespace: Lucene.Net.Support.C5
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class DirectedCollectionBase<T> : CollectionBase<T>, IDirectedCollectionValue<T>, ICollectionValue<T>, IShowable, IFormattable, IDirectedEnumerable<T>, System.Collections.Generic.IEnumerable<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    DirectedCollectionBase(System.Collections.Generic.IEqualityComparer<T>, MemoryType)

    Declaration
    protected DirectedCollectionBase(System.Collections.Generic.IEqualityComparer<T> itemequalityComparer, MemoryType memoryType)
    Parameters
    Type Name Description
    System.Collections.Generic.IEqualityComparer<T> itemequalityComparer
    MemoryType memoryType

    The type of memory for the enumerator used to iterate the collection

    Properties

    | Improve this Doc View Source

    Direction

    Forwards
    if same, else
    Backwards
    Declaration
    public virtual EnumerationDirection Direction { get; }
    Property Value
    Type Description
    EnumerationDirection

    The enumeration direction relative to the original collection.

    Methods

    | Improve this Doc View Source

    Backwards()

    Declaration
    public abstract IDirectedCollectionValue<T> Backwards()
    Returns
    Type Description
    IDirectedCollectionValue<T>
    | Improve this Doc View Source

    FindLast(Func<T, Boolean>, out T)

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

    Declaration
    public virtual bool FindLast(Func<T, bool> predicate, out T item)
    Parameters
    Type Name Description
    Func<T, System.Boolean> predicate

    A delegate (Func<, > with

    R == bool
    ) defining the predicate

    T item
    Returns
    Type Description
    System.Boolean

    True is such an item exists

    Explicit Interface Implementations

    | Improve this Doc View Source

    IDirectedEnumerable<T>.Backwards()

    Declaration
    IDirectedEnumerable<T> IDirectedEnumerable<T>.Backwards()
    Returns
    Type Description
    IDirectedEnumerable<T>

    Implements

    IDirectedCollectionValue<T>
    ICollectionValue<T>
    IShowable
    IFormattable
    IDirectedEnumerable<T>
    System.Collections.Generic.IEnumerable<>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)