On Wed, Mar 11, 2009 at 10:25 AM, Allahbaksh Mohammedali Asadullah <allahbaksh_asadul...@infosys.com> wrote: > Hi, > I didn't get what exactly does shifiting 24 times and shifing 12 times does. > Is there any Character at that value or is there some differenciator? > Can some one go in bit details. > Regards.
That's just bit twiddling to slice up the integer into smaller pieces. for example val>>>24 moves the top 8 bits of the 32 bit int into the lowest 8 bits. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org