Class ListExtensions
- Namespace
- Vintagestory.API.Util
- Assembly
- VintagestoryAPI.dll
public static class ListExtensions
- Inheritance
-
ListExtensions
- Inherited Members
Methods
Shuffle<T>(List<T>, Random)
Performs a Fisher-Yates shuffle in linear time or O(n)
public static void Shuffle<T>(this List<T> array, Random rand)
Parameters
Type Parameters
T
Shuffle<T>(List<T>, IRandom)
Performs a Fisher-Yates shuffle in linear time or O(n)
public static void Shuffle<T>(this List<T> array, IRandom rand)
Parameters
Type Parameters
T