commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janek Bogucki <>
Subject Re: [collections] CaseInsensitiveHashMap
Date Mon, 24 Nov 2003 17:14:43 GMT
On Sun, 2003-11-23 at 22:25, Brian S O'Neill wrote:
> This implementation converts the key to lowercase on every get and put, 
> which adds a bit of object allocation overhead. Also, simply converting 
> to lowercase does not make it fully case-insensitive. There is a comment 
> in String.regionMatches that brings up something about the Georgian 
> alphabet.
> What I always do when I want a case-insensitive map is to construct a 

This Georgian issue could be avoided by allowing CaseInsensitiveHashMap
to restrict it's scope to Sql naming standards for columns and leaving
it in DbUtils.


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

View raw message