commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [collections] CaseInsensitiveHashMap
Date Fri, 02 Jan 2004 13:38:08 GMT

--- Phil Steitz <phil@steitz.com> wrote:
> I have written the 3 lines necessary to implement a
> CaseInsensitiveHashMap 
> by extending HashedMap.  Before committing, I have a couple of questions
> / 
> consensus points.
> 
> 1. I made no attempt to handle or mask nulls -- puts with null keys will
> 
> throw NPEs.

HashMap supports nulls, why can't this class?

David

> 
> 2. I made no attempt at allowing the locale to be set or otherwise 
> changing the default behavior of toLower() in convert().
> 
> 3. I need the secret recipe for making the "canonical serialized object 
> file" so that I don't have to dummy out the "compatability" tests (or
> not 
> :)  Is this documented somewhere?
> 
> Phil
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

---------------------------------------------------------------------
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