Possible Duplicate:
What does >> do in java?
What does it do this sign: << ? This is in Java.
For an instance, new CustomPermission(1 << 5, 'M');
Best regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s bitshift
http://download.oracle.com/javase/tutorial/java/nutsandbolts/op3.html
Basically it multiplies the left operand by 2 to the power of the right operand
so 1 << 5 is 1 * 2^5