Class CollectionBase<T>
Base class (abstract) for ICollection implementations.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class CollectionBase<T> : CollectionValueBase<T>, ICollectionValue<T>, Collections.Generic.IEnumerable<T>, IShowable, IFormattable
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
CollectionBase(Collections.Generic.IEqualityComparer<T>, MemoryType) |
Fields
Name | Description |
---|---|
isReadOnlyBase | The underlying field of the ReadOnly property |
itemequalityComparer | The item equalityComparer of the collection |
size | The number of items in the collection |
Properties
Name | Description |
---|---|
Count | |
CountSpeed | The value is symbolic indicating the type of asymptotic complexity in terms of the size of this collection (worst-case or amortized as relevant). |
EqualityComparer | |
IsEmpty | |
IsReadOnly | |
stamp | The current stamp value |
Methods
Name | Description |
---|---|
checkRange(Int32, Int32) | Utility method for range checking. |
ComputeHashCode(ICollectionValue<T>, Collections.Generic.IEqualityComparer<T>) | Compute the unsequenced hash code of a collection |
GetUnsequencedHashCode() | Get the unsequenced collection hash code of this collection: from the cached value if present and up to date, else (re)compute. |
modifycheck(Int32) | Check if the collection has been modified since a specified time, expressed as a stamp value. |
StaticEquals(ICollection<T>, ICollection<T>, Collections.Generic.IEqualityComparer<T>) | Examine if collection1 and collection2 are equal as unsequenced collections using the specified item equalityComparer (assumed compatible with the two collections). |
UnsequencedEquals(ICollection<T>) | Check if the contents of otherCollection is equal to the contents of this in the unsequenced sense. Uses the item equality comparer of this collection |
updatecheck() | Check if it is valid to perform update operations, and if so increment stamp. |