Illustration einer tropischen Insel mit Palmen und einem hohen Berg

Java Blog für Programmierer

Erster Java Closures Prototype im openjdk

· Christian Ullenboom

Von http://gafter.blogspot.com/2008/08/java-closures-prototype-feature.html:

The complete source code, released under GPLv2, is in the project’s openjdk repository. A binary build, suitable for use with an existing JDK6, is at . Other related documents are on the website

Neu sind Method references aus dem FCM proposal:

{ String => int } parseInt = Integer#parseInt(String);int x = parseInt.invoke("42");

Damit wird es immer wahrscheinlicher, dass es Closures in Java 7 gibt, obwohl Zeitpunkt und Inhalte immer noch nicht feststehen.

Kategorien: Java 7

← Alle Beiträge