Review Request: CR#8001634 : Initial set of lambda functional interfaces

Kevin Bourrillion kevinb at google.com
Thu Nov 1 08:46:13 PDT 2012


I like the name Provider best, but Guava couldn't use it because Guice
hogged it, and now the JDK can't use it because javax.inject hogged it. :-)



On Thu, Nov 1, 2012 at 8:36 AM, Brian Goetz <brian.goetz at oracle.com> wrote:

> Also I am starting to lean towards "Supplier<T>" instead of "Factory<T>",
> since factory connotes "make me a new one" and supplier merely connotes
> "find me one somehow."  (This is consistent with Guava's choice.)
>
>
> On 11/1/2012 7:58 AM, Doug Lea wrote:
>
>>
>>  http://cr.openjdk.java.net/~**mduigou/8001634/2/webrev/<http://cr.openjdk.java.net/~mduigou/8001634/2/webrev/>
>>>
>>>
>> My main non-technical reaction is that more I see "Mapper",
>> the more I hate it. It interacts awfully especially with Maps.
>> "Fun" (with lots of precedent in other languages) would
>> be fine. Even "Function" would be fine.
>>
>> -Doug
>>
>


-- 
Kevin Bourrillion | Java Librarian | Google, Inc. | kevinb at google.com


More information about the lambda-libs-spec-observers mailing list