listH library
Classes
Functions
-
indexPercentage(
List< int> ids) → List<IdWithPercentage> - Takes a list of ids and values takes the count and assigns a percentage based on where they are in list 1,2,3,4 = 25, 50, 75, 100
-
splitByPercentage<
T> (List< T> list, List<Percentage> splitPercentages) → List<List< T> > -
Takes a list and splits it based by the percentage values contained
inside splits.
1,2,4,5,6 -
40%,40%,20%
= [1,2
,4,5
,6
]