Java Integer to intToCols(int i)

Here you can find the source of intToCols(int i)

Description

int To Cols

License

Open Source License

Declaration

public static int[] intToCols(int i) 

Method Source Code

//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*/
}

Related

  1. intToBlue(int color)
  2. IntToBuf2BE(int val, byte[] buf, int offset)
  3. intToBuffer(int i, byte[] ioBuffer)
  4. intToCodeString(int value)
  5. intToColour(int colour)
  6. intToColumnName(int column)
  7. intToDateString(int i)
  8. intToDay(int d)
  9. intToDegree(int storedInt)