Hi Java people
Please help me.
public synchronized int getRGB() {
return ((red << 16) | (green << 8) | blue);
}
I do not understand how this or | works to return which value? Please help.
Thank you.
Zhao Lin
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---