Here you can find the source of intToCols(int i)
public static int[] intToCols(int i)
//package com.java2s; //License from project: Open Source License public class Main { public static int[] intToCols(int i) { return new int[] { (i >> 16) & 0xFF, (i >> 8) & 0xFF, i & 0xFF, (i >> 24) & 0xFF }; }/*ww w . j av a 2 s. co m*/ }