Here you can find the source of ceilDivision(int value, int divisor)
public static int ceilDivision(int value, int divisor)
//package com.java2s; //License from project: Apache License public class Main { public static int ceilDivision(int value, int divisor) { return (value + (divisor - 1)) / divisor; }/* www.ja v a 2 s.co m*/ public static long ceilDivision(long value, int divisor) { return (value + (divisor - 1)) / divisor; } }