Hi Tim, Hi list
The java example on page 12 could be more fair with the simplified
for-loop, introduced about 5 years ago:
for (Character c: name.toCharArray ())
if (Character.isUpperCase (c)) {
hasUpperCase = true;
break;
}
and still be impressive. ;)
- --
Tsch���--->...Stefan
- ---------------------------
Don't visit my homepage at:
http://home.arcor-online.net/hirnstrom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAk1jm00ACgkQQeATqGpDnRrGogCdGcvu/MkEU1U5m9aL2AtSukIF
XDsAn08jaqI8YY0/kXms4wxgSA000tqX
=1cdY
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Tim, Hi list
The java example on page 12 could be more fair with the simplified
for-loop, introduced about 5 years ago:
for (Character c: name.toCharArray ())
if (Character.isUpperCase (c)) {
hasUpperCase = true;
break;
}
and still be impressive. ;)
- --
Tschööö--->...Stefan