commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [collections] AMap/IterableMap name
Date Tue, 02 Dec 2003 00:00:54 GMT
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)
 IMap - similar idea, but I is for interface
 IterableMap - the long name

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


Mime
View raw message