This is why we all argued for function types, i.e., int -> int doubleTheArgument = x -> x * 2; Brian thinks this causes a problem with overloading because of erasure, but I don't think that's as big a problem as having to name all these interfaces. It's relatively easy to avoid overloading.
On Fri, Nov 16, 2012 at 2:26 PM, Simon Ochsenreither < [email protected]> wrote: > Sorry, the first link should be > http://hg.openjdk.java.net/lambda/lambda/jdk/file/ba27872c81f8/src/share/classes/java/util/function/... > -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
