Here you can find the source of dumpInt(String name, int[] src)
public static void dumpInt(String name, int[] src)
//package com.java2s; //License from project: Apache License public class Main { public static void dumpInt(String name, int[] src) { System.out.println(String.format("%s: [", name)); int col = 0; for (int i = 0; i < src.length; ++i) { if (col == 0) { System.out.format(" "); }/* w w w . ja va2s. co m*/ System.out.format(" %08x", src[i]); col = (col + 1) % 8; if (col == 0) { System.out.println(); } } if (col != 0) { System.out.println(); } System.out.println("]"); } }