martedì, gennaio 14, 2003
Nelle pagine dedicate al Java Community Process possiamo trovare quattro miglioramenti al linguaggio che dovrebbero vedere la luce on la release di "Tiger", la versione 1.5 del Java SDK.
The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 201 The proposal extends the Java programming language in four specific ways:
1. A syntax for defining enumerated types. This syntax provides linguistic support for the Typesafe Enumeration pattern.
2. An automatic conversion from primitive types to their corresponding reference type wrappers. This conversion facilitates the integration of generics into the language, and reduces inessential clutter.
3. Enhanced for loops allow convenient iteration over collections, without the need for an explicitly defined iterator. This reduces the need for boilerplate iteration code and the corresponding opportunities for errors.
4. Static import. A mechanism to allow the use of unqualified constants.
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento