Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Application of shifting operators
how to use Random( )?
need tips and tricks/link on shift parameters
SIGNED Left Shift operator???
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013