LargeArrayT Class

Implementation that utilizes a jagged array structure and array expansion optimization to improve performance.

Definition

Namespace: SnapDB.Collections
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class LargeArray<T>
Inheritance
Object    LargeArrayT

Type Parameters

T
Array type.

Constructors

LargeArrayT Creates a LargeArrayT with a jagged array depth of 1024 elements.
LargeArrayT(Int32) Creates a LargeArrayT with the specified jagged array depth.

Properties

Capacity Gets the number of items in the array.
Item Gets or sets the value in the specified index of the array.

Methods

Clear Clears all elements in the data structure, setting each element to its default value.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
SetCapacity Sets the capacity of the array to at least the given length. Will not reduce the size.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also