aspose file tools
The moose likes Java in General and the fly likes Bitwise >>> operator Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Bitwise >>> operator" Watch "Bitwise >>> operator" New topic
Author

Bitwise >>> operator

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
What does the bitwise >>> operator do?
Ajay Singhal
Ranch Hand

Joined: Jan 10, 2001
Posts: 37
Dear Dipti
Actually >>> is an Zero fill shift operator.
it works in the following manner.
suppose i contains 11111111111and so on.
then i>>>2
will convert it to 00111111111and so on.
but in case >>1
it will remain 11111111111 and so on
Steve Fahlbusch
Ranch Hand

Joined: Sep 18, 2000
Posts: 492
    
    2

Greetings,
I think you will find an abundance of links on this very
topic if you do a search of >>> in the java in general (beginning) forum.
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Read Cat and Mouse Game With Bits


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Bitwise >>> operator
 
Similar Threads
bitwise operator
Precedence of operators
Interview question (& operator)
Conditional expression
Bitwise operators