Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
Use of shift operators in Java
Debopam Poddar
Ranch Hand
Posts: 51
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can you please expalin me the practical use of
Java
shift operators (>> , <<). When to use these operators and why?
Campbell Ritchie
Marshal
Posts: 79178
377
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Try
this old thread
. If you need more information, ask again
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
SIGNED Left Shift operator???
shift operators
need tips and tricks/link on shift parameters
Application of shifting operators
how to use Random( )?
More...