aspose file tools*
The moose likes Beginning Java and the fly likes shift operator and bits Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "shift operator and bits" Watch "shift operator and bits" New topic
Author

shift operator and bits

AJ Brown
Greenhorn

Joined: Mar 30, 2004
Posts: 17
I've been studying the Bates and Sierra book. I don't quite understand the shift operator and bits. Is there a better explanation of these somewhere on the web?
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch!
Sometimes it's helpful to just read a few different explanations of a topic, whether one explanation is better than another may not be important.
So, for another explanation of this bit manipulation stuff, you might appreciate a read of the "Cat and Mouse Games with Bits" story of The JavaRanch Campfire Stories.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
Originally posted by AJ Brown:
I've been studying the Bates and Sierra book. I don't quite understand the shift operator and bits. Is there a better explanation of these somewhere on the web?

I've read that book too. Really, what do you not understand? See if I could explain it to you?


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
AJ Brown
Greenhorn

Joined: Mar 30, 2004
Posts: 17
Thanks. The cat and mouse example really helped. I now understand it.
 
wood burning stoves
 
subject: shift operator and bits