|
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/operators.html postfix expr++ expr-- unary ++expr --expr +expr -expr ~ ! multiplicative * / % additive + - shift << >> >>> relational < > <= >= instanceof equality == != bitwise AND & bitwise exclusive OR ^ bitwise inclusive OR | logical AND && logical OR || conditional ? : assignment = += -= *= /= %= &= ^= |= <<= >>= >>>= It does a shift operation. 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 "albartell" <albartell@xxxxxxxxx> Sent by: java400-l-bounces@xxxxxxxxxxxx 2006/09/13 12:34 PM Please respond to Java Programming on and around the iSeries / AS400 <java400-l@xxxxxxxxxxxx> To <java400-l@xxxxxxxxxxxx> cc 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.