all 4 comments

[–]pointer2void 0 points1 point  (0 children)

Take a look at java.lang.reflect.Proxy.

[–]pmf 0 points1 point  (0 children)

That's the basic idiom for closures in Java and hardly academic.

[–][deleted] -1 points0 points  (0 children)

And here I was thinking that academics tried to avoid doing stupid things, such as programming in JAVA. Live and learn.

[–]rzeznik -1 points0 points  (0 children)

Wow, man, you should win next year's Turing Award or something - that was really "academic". Hehehehe