| Modifier and Type | Method and Description | 
|---|---|
| int | partitionFor(T elem,
            int numPartitions,
            Contextful.Fn.Context c)Chooses the partition into which to put the given element. | 
int partitionFor(T elem, int numPartitions, Contextful.Fn.Context c)
elem - the element to be partitionednumPartitions - the total number of partitions (>= 1)c - the Contextful.Fn.Context needed to access sideInputs.[0..numPartitions-1])