RFR: updated draft API for JEP 269 Convenience Collection Factories
forax at univ-mlv.fr
forax at univ-mlv.fr
Sat Nov 7 17:44:50 UTC 2015
Shameless plug I will present an university at Devoxx monday morning 'Design Pattern Reloaded' :)
Rémi
----- Mail original -----
> De: "Stuart Marks" <stuart.marks at oracle.com>
> À: "Remi Forax" <forax at univ-mlv.fr>
> Cc: "core-libs-dev" <core-libs-dev at openjdk.java.net>
> Envoyé: Vendredi 6 Novembre 2015 18:16:20
> Objet: Re: RFR: updated draft API for JEP 269 Convenience Collection Factories
>
> On 11/5/15 11:15 PM, Remi Forax wrote:
> > Hi Stuart,
> > reading the documentation,
> > methods of() are implementing the*static* method factory pattern
> > (introduced by Josh Blosch in Effective Java) not the "method factory
> > pattern" which something else in the GoF [1] (and should not be used BTW).
>
> Hi Remi,
>
> Thanks for reading.
>
> Yes indeed, it's right there in Item #1 of Effective Java. In fact Bloch
> takes
> care to distinguish the "static factory method" concept from "Factory Method"
> pattern from the Design Patterns book.
>
> I'll make sure to tighten up the wording.
>
> s'marks
>
More information about the core-libs-dev
mailing list