commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Heuer <heue...@acm.org>
Subject Re: [collections] AMap/IterableMap name
Date Tue, 02 Dec 2003 00:03:51 GMT
On Tue, 2 Dec 2003, Stephen Colebourne wrote:

> AMap is a new interface that extends Map to provide one extra method
>   MapIterator mapIterator()
>
> I can think of various possible names:
>  Map2 - follows Sun naming standards for replacing interfaces
>  MapA - similar idea, but doesn't clash if Sun ever creates Map2
>  AMap - similar idea but reversed (A is for Apache)

+0

>  IMap - similar idea, but I is for interface

-0

>  IterableMap - the long name

+1

> If people favour IterableMap, then thats fine. I was looking for something
> short to indicate that this should be a general replacement to using Map.
> Maybe IterableMap is clearer though
>
> Naming opinions please?
>
> Stephen
> PS. The new implementation HashedMap is also checked in. Naming views on
> this are also welcomed plus a proper code review!!
> And I even discovered a small performance error in the JDK HashMap.
>
>
> ----- Original Message -----
> From: "ASHWIN Suresh" <a.suresh@sigmatel.net.ma>
> > > -----Original Message-----
> > > From: Michael Heuer [mailto:heuermh@acm.org]
> > > Sent: Monday, December 01, 2003 22:56
> > > To: Jakarta Commons Developers List
> >
> > >
> > > Might the name IterateableMap or IteratableMap (the proper spelling
> > > alludes me) be more descriptive than AMap?
> > >
> > >    michael
> >
> >
> > Going by the standard pattern, it would be "IterableMap".
> >
> > [Pattern: -ation > -able ]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message