Here you can find the source of round(int start, int boundary)
public static int round(int start, int boundary)
//package com.java2s; //License from project: Open Source License public class Main { public static int round(int start, int boundary) { return (start + boundary) & ~boundary; }/* w w w .j a v a2 s . c om*/ }