Here you can find the source of Round(Object in)
public static final void Round(Object in)
//package com.java2s; //License from project: Open Source License public class Main { public static final void Round(Object in) { if (in == null) return; if (in instanceof int[]) { int[] inn = (int[]) in; for (int i = 0, s = inn.length; i < s; i++) inn[i] = (int) (int) inn[i]; } else {/*from w ww . j a v a 2 s . c o m*/ for (int i = 0, s = ((Object[]) in).length; i < s; i++) Round(((Object[]) in)[i]); } } }