Closures for the Java Programming Language (aka BGGA)
Current prototype:
http://www.javac.info/closures.tar.gz
(updated 2008-08-11) Please send bug reports to
the closures development mailing list
Differences between the prototype and the spec (v0.5)
A library for functional programming.
Doug Lea's jsr166y fork-join framework:
without function types
and
with function types.
Get the code here.
Current specification:
Closures for the Java Programming Language (v0.5)
Draft consensus JSR proposal
A definition of closures
1-hour talk about the specification
2-hour talk with Q&A
Open issue list:
Closures: Open Issues (v0.5)
Java Closures Tutorial from Zdenĕk Troníček
Introduction
Closures
Function Types
Local Variables
Covariant return and contravariant arguments
Closure Conversion
Exceptions
Advanced Features
Closures Sources
Completion Transparency
Usage
Control Abstraction and Restricted
Method references
Method references (Implementation Issue)
Nonlocal transfer
Modifier 'for'
Some explanations:
Why doesn't
return
yield a result from the innermost closure?
Neal's comments on the ongoing debate.
Creating user-defined loop abstractions.
Concurrent loops.
A brief discussion of "Unreachable" (now renamed to "Nothing").
Add Java SE 6 API search box to Google Toolbar
Add OpenJDK API search box to Google Toolbar
Google's position regarding Java language changes