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.

Autore: cosmic53

I have been into compilers and device drivers in the 80's, I have helped building the public Internet in Italy in the 90's. I have always loved programming languages and languages in general, writing about . Now I am into mobile apps. I am also a trained musician with a degree in jazz music. I play guitar, bass and flute.


Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo di

Stai commentando usando il tuo account Chiudi sessione /  Modifica )

Google photo

Stai commentando usando il tuo account Google. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...