|
is an unsigned right shift.
Check out:
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/opsummary.html
http://www.janeg.ca/scjp/oper/shift.html
That having been said, it sure looks like a strange way to do it!
Richard
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx]On Behalf Of albartell
Sent: Wednesday, September 13, 2006 11:05 AM
To: java400-l@xxxxxxxxxxxx
Subject: What does >>> mean?
Heyo,
I have the following code from the IBM Info Center that is from a Java
program creating a keyed data queue. I thought the >>> characters were
typos, which I frequently find in the IBM examples, but it is not! - this
code compiles. So I am curious as to what >>> means as google didn't seem
to like that as a search term (i.e. "java >>>"). Anybody?
byte[] key0 = new byte[4];
key0[0] = 0;
key0[1] = 0;
key0[2] = 0;
key0[3] = 0;
byte[] key50 = new byte[4];
key50[0] = (byte) (50 >>> 24);
key50[1] = (byte) (50 >>> 16);
key50[2] = (byte) (50 >>> 8);
key50[3] = (byte) (50);
byte[] key100 = new byte[4];
key100[0] = (byte) (100 >>> 24);
key100[1] = (byte) (100 >>> 16);
key100[2] = (byte) (100 >>> 8);
key100[3] = (byte) (100);
<mailto:aaron@xxxxxxxxxxxxxxx>
Aaron Bartell
http://mowyourlawn.com
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/446 - Release Date: 9/12/2006
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.