Possible Duplicate:
Good tutorials on Bitwise operations in Java
Are the &, |, ^ bitwise operators or logical operators?
Code as below:
int rgb[] = new int[] {
(argb >> 16) & 0xff, //red
(argb >> 8) & 0xff, //green
(argb ) & 0xff //blue
};
I saw a code which is getting RGB value from a INT value, the operations are as above, but I never see such operation before, I want to find more information about what are they and what can they do, The symbol >> and & and 0xff.
So, what do you all address them in Java?