IndexedArrayT Class

A self growing array of items. This class is thread safe.

Definition

Namespace: Gemstone.Collections
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public sealed class IndexedArray<T> : IEnumerable<T>, 
	IEnumerable
Inheritance
Object    IndexedArrayT
Implements
IEnumerableT, IEnumerable

Type Parameters

T

Constructors

IndexedArrayT Creates an IndexedArrayT.
IndexedArrayT(T) Creates an IndexedArrayT.

Properties

Item Gets/Sets the items in this array. Returns the default(t) if the item does not exist, or default(t) is the item in the list.

Methods

Clear Sets all items to their default value
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

AllParallelT Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
DistinctByT, TKey Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
MajorityT Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
MajorityT Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
MajorityByT, TKey Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
MajorityByT, TKey Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
MaxTReturns the largest item from the enumeration.
(Defined by CollectionExtensions)
MaxTReturns the largest item from the enumeration.
(Defined by CollectionExtensions)
MaxByT, TKeySelects the largest item from the enumeration.
(Defined by CollectionExtensions)
MedianT Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
MinTReturns the smallest item from the enumeration.
(Defined by CollectionExtensions)
MinTReturns the smallest item from the enumeration.
(Defined by CollectionExtensions)
MinByT, TKeySelects the smallest item from the enumeration.
(Defined by CollectionExtensions)
MinorityT Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
MinorityT Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
MinorityByT, TKey Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
MinorityByT, TKey Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
ToDelimitedStringTConverts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
ToDelimitedStringTConverts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
ToDelimitedStringTConverts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
ToPagedListT Gets a PagedListT to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)

See Also