You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the pattern between MultiDicts and MultiSets are different:
MultDict is a concrete collection
MultiSet is an abstract data type (trait) with a public concrete implementation MultiSetImpl.
I lean more towards the abstract data type approach of MultiSet, since it is consistent with the rest of the collections. Though the name MultiSetIml/BagImpl isn't very good. Perhaps CountedMultiSet/CountedBag extends MultiSet/Bag?
The text was updated successfully, but these errors were encountered:
joshlemer
changed the title
Consistency {col/imm/mut}.MultiDict and MultiSet as either abstract traits or concrete implementations
Consistency MultiDict and MultiSet as either abstract traits or concrete implementations
Jul 3, 2019
joshlemer
changed the title
Consistency MultiDict and MultiSet as either abstract traits or concrete implementations
MultiDict and MultiSet should be either abstract traits or concrete implementations
Feb 10, 2021
Currently the pattern between MultiDicts and MultiSets are different:
MultDict
is a concrete collectionMultiSet
is an abstract data type (trait) with a public concrete implementationMultiSetImpl
.I lean more towards the abstract data type approach of
MultiSet
, since it is consistent with the rest of the collections. Though the nameMultiSetIml
/BagImpl
isn't very good. PerhapsCountedMultiSet
/CountedBag
extendsMultiSet
/Bag
?The text was updated successfully, but these errors were encountered: