Is Comparator SAM interface ?
Artur Biesiadowski
abies at adres.pl
Sun Jan 10 10:02:15 PST 2010
Hello,
For the function conversion, straw-man proposal is expecting interfaces
defining just one method. It might require wording differently - if read
literally, java.util.Comparator is not suitable for function conversion,
because it restates 'equals' in the interface in addition to compare.
Same goes for Predicate in google collections and probably some other
classes in different libraries.
Regards,
Artur Biesiadowski
More information about the lambda-dev
mailing list