|
Yep. Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 709-576-8132 rpower@xxxxxxxxxx http://www.stjohns.ca/ ___________________________________________________________________________ Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchill "Holden Tommy" <Tommy.Holden@xxxxxxxxxxxxxxxxx> Sent by: java400-l-bounces@xxxxxxxxxxxx 2006/09/13 02:04 PM Please respond to Java Programming on and around the iSeries / AS400 <java400-l@xxxxxxxxxxxx> To "Java Programming on and around the iSeries / AS400" <java400-l@xxxxxxxxxxxx> cc Subject RE: What does >>> mean? Not a java person but this looks very similar to a bitwise-shift in C just to hazard a guess they are shifting the bits to the right. Thanks, Tommy Holden -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of albartell Sent: Wednesday, September 13, 2006 10: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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.