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" <[EMAIL PROTECTED]>
> > -----Original Message-----
> > From: Michael Heuer [mailto:[EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to