Show / Hide Table of Contents

    Class DirectedCollectionValueBase<T>

    Inheritance
    System.Object
    EnumerableBase<T>
    CollectionValueBase<T>
    DirectedCollectionValueBase<T>
    Implements
    IDirectedCollectionValue<T>
    ICollectionValue<T>
    IShowable
    IFormattable
    IDirectedEnumerable<T>
    System.Collections.Generic.IEnumerable<T>
    Inherited Members
    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>.IsEmpty
    CollectionValueBase<T>.Count
    CollectionValueBase<T>.CountSpeed
    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 DirectedCollectionValueBase<T> : CollectionValueBase<T>, IDirectedCollectionValue<T>, ICollectionValue<T>, IShowable, IFormattable, IDirectedEnumerable<T>, System.Collections.Generic.IEnumerable<T>
    Type Parameters
    Name Description
    T

    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)