File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
I agree. Here's the link:
subject: Use of shift operators in Java
how to use Random( )?
Application of shifting operators
SIGNED Left Shift operator???
need tips and tricks/link on shift parameters
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014