Comparator and Comparators

Paul Sandoz paul.sandoz at oracle.com
Mon Jun 24 08:02:57 PDT 2013


On Jun 24, 2013, at 4:36 PM, Boaz Nahum <boaznahum at gmail.com> wrote:

> Hi
> 
> Now we have two places to look for factory methods:
> 
> Comparator
> Comparators
> 

This distinction is now removed in the tip of the repo. Some of those methods have moved to Comapator, others elsewhere. See:

  http://lambdadoc.net/api/java/util/Comparator.html

  http://lambdadoc.net/api/java/util/Map.Entry.html

Paul.

> What is the rule ?
> 
> Stream factories are in Stream,
> Collection factories are in Collections  (nothing we can do about it)
> Collector are in Collectors
> function.* are in function.*
> 
> I know it is not big issue.
> 
> Thank
> Boaz
> 



More information about the lambda-dev mailing list