public static int SortGroupCount <valueType>(this SubArray <valueType> array, Func <valueType, ulong> getValue) { return(array.Length == 0 ? 0 : FixedArraySortGroup.SortGroupCount(array.Array, getValue, array.Start, array.Length)); }
public static KeyValue <ulong, int>[] SortGroupCount(this SubArray <ulong> array) { return(array.Length == 0 ? EmptyArray <KeyValue <ulong, int> > .Array : FixedArraySortGroup.SortGroupCount(array.Array, array.Start, array.Length)); }