Collection should have a default class (implementation) #1304
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-not-planned
Closed as we don't intend to take action on the reported issue
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by @seaneagan
Collection represents a "multi set" or "bag", for which implementations do exist, thus it should have a default implementation just like almost every other core library interface. It should also have a copy constructor:
Collection.from(Iterable<E> other);
A no arg constructor does not make sense, so long as Collection does not contain any mutators. Java's Collection interface has optional mutators.
The text was updated successfully, but these errors were encountered: