But what kind of instance should be created by Set.copyOf?
> On May 12, 2020, at 2:30 PM, Stuart Marks <stuart.ma...@oracle.com> wrote: > > > > On 5/9/20 7:48 PM, Alan Snyder wrote: >> A small point… you might want to reconsider your analysis of Set.copyOf(), >> as it is a static method and there is no receiver. > > Of course there is no receiver. For static factory methods, and for > constructors, I meant the newly created instance is the one whose membership > contract is used. > > s'marks >