Can anyone simply describe the difference between the three closure proposals and their current state in Java?
I'm reading closures that will appear in Java 7
I'm a little confused because on the one hand, there are many good articles describing the new Java shutdown On the other hand, there are three different specifications. Some articles are simply outdated because they are not the latest proposal
So, if someone tracks the progress of Java shutdown from the beginning, please generally describe all three proposals and their current status
Another thing about closures is, if only one development line exists or is developing different versions (for example, from sun, from Google, from Apache, etc.)?
Solution
If I remember correctly
CICE is just a syntax sugar that looks closed in a way that makes it easier to create anonymous classes
Bgga is a very powerful proposal that allows not only real closure, but also the definition of syntax that looks like new syntax elements (also known as closed {block})
FCM is an additional proposal, trying to reach a compromise between the two and provide a complete closure proposal, but the syntax is better and bgga has no more controversy
The current recommendations can be found in http://www.javac.info/closures-v06a.html and http://www.javac.info/closures-v06b.html It is found that part a is a simple all guarantee, and part B is a more powerful function adopted by bgga