Click or drag to resize

CollectionUtilsRandomizeT Method (IListT)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Randomize the order of the elements within the passed list.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static IList<T> Randomize<T>(
	IList<T> list
)

Parameters

list
Type: System.Collections.GenericIListT
The list to randomize; the passed list is not altered.

Type Parameters

T
The type of the element.

Return Value

Type: IListT
A new and immutable List whose contents are identical to those of the passed list except for the order in which they appear.
See Also