CompliantBag is just terrible, I'm sorry.

If we want to follow [DecoratorType][CollectionType] then CollectionBag?

Gary


On Tue, Jul 2, 2013 at 2:40 AM, Thomas Neidhart
<[email protected]>wrote:

> On 07/01/2013 09:06 PM, Gary Gregory wrote:
> > Hi All:
> >
> > I find the class name CompliantBag pretty confusing. Compliant with what?
> > The Javadoc says Collection so, why not call it BagCollection?
>
> I agree that CompliantBag is not a very good choice, but the notation in
> collections was to name decorators like this:
>
>    [DecoratorType][CollectionType] -> e.g. TransformedBag
>
> CollectionCompliantBag also does not sound like a good name to me, but
> neither does BagCollection.
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to