please review draft JEP: Convenience Factory Methods for Collections
Stuart Marks
stuart.marks at oracle.com
Thu Jul 17 21:56:33 UTC 2014
On 7/17/14 12:46 AM, Tom Hawtin wrote:
> I note that with the basic proposal, HashSet.of and indeed NavigableSet.of still
> work. They just do the wrong thing.
I should have made more clear in the JEP that the proposed APIs are static
methods on the List/Map/Set interfaces, not default methods. Thus they won't be
inherited by any subinterfaces or implementors.
s'marks
More information about the core-libs-dev
mailing list