Click or drag to resize

IndexedArrayT Class

A self growing array of items. This class is thread safe.
Inheritance Hierarchy
SystemObject
  GSF.CollectionIndexedArrayT

Namespace:  GSF.Collection
Assembly:  GSF.Core (in GSF.Core.dll) Version: 2.2.61-beta
Syntax
public sealed class IndexedArray<T> : IEnumerable<T>, 
	IEnumerable
Request Example View Source

Type Parameters

T

The IndexedArrayT type exposes the following members.

Constructors
  NameDescription
Public methodIndexedArrayT
Creates an IndexedArrayT.
Public methodIndexedArrayT(T)
Creates an IndexedArrayT.
Top
Properties
  NameDescription
Public propertyItem
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.
Top
Methods
  NameDescription
Public methodClear
Sets all items to their default value
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAllParallelT
Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions.)
Public Extension MethodDistinctByT, TKey
Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions.)
Public Extension MethodGetEnumValueOrDefault(Type, Object)Overloaded.
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions.)
Public Extension MethodGetEnumValueOrDefaultT(Object)Overloaded.
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions.)
Public Extension MethodMajorityT(Boolean, IEqualityComparerT)Overloaded.
Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions.)
Public Extension MethodMajorityT(T, Boolean, IEqualityComparerT)Overloaded.
Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions.)
Public Extension MethodMajorityByT, TKey(FuncT, TKey, Boolean, IEqualityComparerTKey)Overloaded.
Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions.)
Public Extension MethodMajorityByT, TKey(T, FuncT, TKey, Boolean, IEqualityComparerTKey)Overloaded.
Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions.)
Public Extension MethodMaxT(FuncT, T, Int32)Overloaded.
Returns the largest item from the enumeration.
(Defined by CollectionExtensions.)
Public Extension MethodMaxT(IComparerT)Overloaded.
Returns the largest item from the enumeration.
(Defined by CollectionExtensions.)
Public Extension MethodMaxByT, TKey
Selects the largest item from the enumeration.
(Defined by CollectionExtensions.)
Public Extension MethodMedianT
Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions.)
Public Extension MethodMinT(FuncT, T, Int32)Overloaded.
Returns the smallest item from the enumeration.
(Defined by CollectionExtensions.)
Public Extension MethodMinT(IComparerT)Overloaded.
Returns the smallest item from the enumeration.
(Defined by CollectionExtensions.)
Public Extension MethodMinByT, TKey
Selects the smallest item from the enumeration.
(Defined by CollectionExtensions.)
Public Extension MethodMinorityT(Boolean, IEqualityComparerT)Overloaded.
Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions.)
Public Extension MethodMinorityT(T, Boolean, IEqualityComparerT)Overloaded.
Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions.)
Public Extension MethodMinorityByT, TKey(FuncT, TKey, Boolean, IEqualityComparerTKey)Overloaded.
Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions.)
Public Extension MethodMinorityByT, TKey(T, FuncT, TKey, Boolean, IEqualityComparerTKey)Overloaded.
Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions.)
Public Extension MethodToDelimitedStringTOverloaded.
Converts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions.)
Public Extension MethodToDelimitedStringT(Char)Overloaded.
Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions.)
Public Extension MethodToDelimitedStringT(String)Overloaded.
Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions.)
Public Extension MethodToPagedListT (Defined by CollectionExtensions.)
Top
See Also