RandomizedCollection<T> Class

Represents a collection whose elements are enumerated in random order.

Definition

Namespace: Extreme.Mathematics.Random
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public class RandomizedCollection<T> : IEnumerable<T>, 
	IEnumerable
Inheritance
Object  →  RandomizedCollection<T>
Implements
IEnumerable<T>, IEnumerable

Type Parameters

T

Constructors

RandomizedCollection<T>(IEnumerable<T>) Constructs a new RandomizedCollection<T>.
RandomizedCollection<T>(IEnumerable<T>, Random) Constructs a new RandomizedCollection<T>.

Methods

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)
GetEnumeratorGets an IEnumerator that can be used to iterate through the elements of the collection.
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)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

Group<T> Returns a grouping by the unique elements in a sequence.
(Defined by Grouping)
Group<T> Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality.
(Defined by Grouping)
Sum<T> Computes the sum of the sequence of values.
(Defined by ArrayMath)
Sum<T, U> Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath)

See Also