• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bit Manipulation

 
mario tan
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

What is the best tutorial for bit manipulation in java? I've tried reading some books but they only give an overview and few examples. It would be much better if a tutorial could cover up all the topics in bit manipulation and present more helpful examples and applications.

Please help me with this as I am so confuse with bit manipulation in java.
If I could not understand this topic, the more I could not understand complex programs that use bit manipulation.

Thanks in advance!

Mario
 
Peter Chase
Ranch Hand
Posts: 1970
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bit manipulation in Java is very similar to C/C++ and the way it works in Java is as friendly as in other languages. You have your AND, OR, XOR, NOT operators, & | ^ ! , and your shift operators, << >> >>>.

Perhaps what you are needing is a general explanation of bitwise operations and how numbers (integer, floating point etc.) are stored in binary. Perhaps do some Google searches, without limiting yourself to Java.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic