Loose-ends wrapup
Brian Goetz
brian.goetz at oracle.com
Fri May 10 11:12:23 PDT 2013
>> Many slippery-slope questions come to mind -- doesn't this beg for:
>> - Bag interface
>
> YAGNI. "Bag" just means "not a Set or List or other Collection
> subinterface"
Maybe. A multiset typically implements a method like:
int count(Object)
> unmodifiableCollection would work fine.
except then, even if CHB implemented a count(o) method, it becomes
hidden by the wrapper.
So, are you saying that count(Object) is a YAGNI issue too?
More information about the lambda-libs-spec-experts
mailing list