Class SequencedBase<T>
Base class (abstract) for sequenced collection implementations.
Inheritance
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class SequencedBase<T> : DirectedCollectionBase<T>, IDirectedCollectionValue<T>, ICollectionValue<T>, IShowable, IFormattable, IDirectedEnumerable<T>, Collections.Generic.IEnumerable<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
SequencedBase(Collections.Generic.IEqualityComparer<T>, MemoryType) |
Properties
Name | Description |
---|---|
Direction | if same, else
|
Methods
Name | Description |
---|---|
ComputeHashCode(ISequenced<T>, Collections.Generic.IEqualityComparer<T>) | Compute the unsequenced hash code of a collection |
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. |
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. |
GetSequencedHashCode() | Get the sequenced collection hash code of this collection: from the cached value if present and up to date, else (re)compute. |
SequencedEquals(ISequenced<T>) | Check if the contents of that is equal to the contents of this in the sequenced sense. Using the item equalityComparer of this collection. |
StaticEquals(ISequenced<T>, ISequenced<T>, Collections.Generic.IEqualityComparer<T>) | Examine if tit and tat are equal as sequenced collections using the specified item equalityComparer (assumed compatible with the two collections). |