Class DirectedCollectionValueBase<T>
Implements
IFormattable
System.Collections.Generic.IEnumerable <T>
Inherited Members
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 SourceDirection
Forwards
if same, else Backwards
Declaration
public virtual EnumerationDirection Direction { get; }
Property Value
Type | Description |
---|---|
Enumeration |
The enumeration direction relative to the original collection. |
Methods
| Improve this Doc View SourceBackwards()
Declaration
public abstract IDirectedCollectionValue<T> Backwards()
Returns
Type | Description |
---|---|
IDirected |
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. |
predicate | A delegate (Func<, > with ) defining the predicate
|
T | item |
Returns
Type | Description |
---|---|
System. |
True is such an item exists |
Explicit Interface Implementations
| Improve this Doc View SourceIDirectedEnumerable<T>.Backwards()
Declaration
IDirectedEnumerable<T> IDirectedEnumerable<T>.Backwards()
Returns
Type | Description |
---|---|
IDirected |
Implements
IFormattable
System.Collections.Generic.IEnumerable<>