You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/11/09 19:45:58 UTC
DO NOT REPLY [Bug 24537] New: -
Add CaseInsensitiveHashMap
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24537>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24537
Add CaseInsensitiveHashMap
Summary: Add CaseInsensitiveHashMap
Product: Commons
Version: Nightly Builds
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Collections
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: dgraham@apache.org
I've found it useful to have a Map implementation that uses case insensitive
Strings as the keys. One use case is using a Map to represent ResultSet rows
from a database. The column names returned by ResultSetMetaData.getColumnName()
are unpredictably cased, sometimes all upper and sometimes all lower so it's
necessary to have a case insensitive map for database portable code. I couldn't
find an existing implementation in collections so here's a version from DbUtils...
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org