commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <>
Subject Re: [collections] CaseInsensitiveHashMap
Date Sat, 03 Jan 2004 23:48:18 GMT
From: "David Graham" <>
> Just out of curiosity, why are you leaving Hash out of the names?  The
> Java idiom seems to be to indicate a collection's implementation in the
> name.  Even the standard WeakHashMap maintains the "Hash" portion of the
> name.  I'm not particularly tied to CaseInsensitiveHashMap but I chose
> that name based on current Java practices.

Because people have assumed in the past that an XxxHashMap extends HashMap
(normal Java naming practices). Its really just duplicate info anyway. Hence
ReferenceMap, not ReferenceHashMap, LinkedMap not LinkedHashMap.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message