Java String Explode explode(int clr)

Here you can find the source of explode(int clr)

Description

explode

License

Open Source License

Declaration

public static int[] explode(int clr) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int[] explode(int clr) {
        int[] explodedColors = new int[4];
        for (int i = 0; i < 4; ++i)
            explodedColors[3 - i] = (clr >>> (i * 8)) & 0xFF;
        return explodedColors;
    }/*from  w  w w.java2s.c om*/
}

Related

  1. explode(char separator, String[] input)
  2. explode(final String str, final char delimiter, final int limit)
  3. explode(String csv)
  4. explode(String data, String delim)
  5. explode(String delim, String string)
  6. explode(String handleStr, String pointStr)