By bloid
via javalobby.org
Published: Dec 22 2006 / 13:20
Anonymous inner classes are sufficient to fulfill the definition of closures, they can be used to bind values from their surrounding context to open variables (the fields of the anonymous class) to create a closure over the contained lambda expressions. So, if the closure proposal is not really about adding closures to Java, what is going on?



Add your comment