|
|
 |
the operator >>
date posted 15th January 2002 13:25
hi there,
i don't know where to ask this question in java newsgroups and i hope this mailing list will help.
i'm a java newbie and have frequently come across codes like this:
int r=(colorval >> 16) & 0xff;
int g=(colorval >> 8) & 0xff;
int b= colorval & 0xff;
can anybody here explain how this operator work?
marcoSend and receive Hotmail on your mobile device: Click Here
|
 |
|