class ParallelUtil {

    public static int threadCount(final int batchSize, final int elementCount) {
        return Math.toIntExact(threadCount((long) batchSize, elementCount));
    }

    private  ParallelUtil();

}