Here you can find the source of roundUpLong(long value, long interval)
public static long roundUpLong(long value, long interval)
//package com.java2s; //License from project: Open Source License public class Main { public static long roundUpLong(long value, long interval) { return ((value + interval - 1) / interval * interval); }/*from ww w . jav a 2 s .com*/ }