Chapter 1. What’s New?
Note
In this chapter:
Even with nearly 200 pages before you, it’s going to be awfully tough to cover all of Tiger’s new features. Whether it’s called Java 1.5, 2.0, Java 5, or something altogether different, this version of Java is an entirely new beast, and has tons of meat to offer.
Rather than waste time on introductory text, this chapter jumps right into some of the “one-off” features that are new for Tiger, and that don’t fit into any of the larger chapters. These will get you used to the developer’s notebook format if it’s new for you, and introduce some cool tools along the way. Then Chapter 2 gets downright serious, as generics are introduced, and from there to the last page, it’s a race to cram everything in.
Working with Arrays
Tiger has a pretty major overhaul of its collection classes, most of which
have to do with generic types and support for the new for/in loop.
Without getting into those details yet, you can get some immediate bang
for your buck by checking out the java.util.Arrays class, which is
chock-full of static utility methods (many of which are new to Tiger).
How do I do that?
The java.util.Arrays class is a set
of static methods that all are useful for working with arrays. Most of these methods are particularly helpful if you have an array of numeric primitives, which is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access