class CaseImap extends HashMap<String, Object>
{
// Overriding get method
public String get(String key)
{
return (String)super.get(key.toLowerCase());
}
// Overriding put method
public Object put(String key, Object value)
{
return super.put(key.toLowerCase(), value);
}
}
No comments:
Post a Comment