static <T extends Comparable<T>> void bucketSort(final List<T> c, final int fromIndex, final int toIndex) {
        bucketSort(c, fromIndex, toIndex, null);
    }
static < T extends Comparable < T > > void bucketSort ( final List < T > c , final int fromIndex , final int toIndex ) { bucketSort ( c , fromIndex , toIndex , null ) ; }
Note: All the objects with same value will be replaced with first element with the same value.

@param c
@param fromIndex
@param toIndex