please review draft JEP: Convenience Factory Methods for Collections (original) (raw)
Stuart Marks stuart.marks at oracle.com
Thu Jul 17 21:56:33 UTC 2014
- Previous message: please review draft JEP: Convenience Factory Methods for Collections
- Next message: Different notations for static and instance methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: please review draft JEP: Convenience Factory Methods for Collections
- Next message: Different notations for static and instance methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]