A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Java in General
Use of shift operators in Java
Joined: Jun 21, 2005
May 07, 2010 05:53:34
Can you please expalin me the practical use of Java shift operators (>> , <<). When to use these operators and why?
Joined: Oct 13, 2005
May 07, 2010 06:45:13
this old thread
. If you need more information, ask again
Joined: Jan 28, 2008
May 08, 2010 03:58:33
shift operators are use in Integer arithmetic calculation to make fast calculation.
Have a look the source code of java.util.Integer . this class uses shift operators much.
It is sorta covered in the
JavaRanch Style Guide
subject: Use of shift operators in Java
SIGNED Left Shift operator???
need tips and tricks/link on shift parameters
how to use Random( )?
Application of shifting operators
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014