Java tutorial
//package com.java2s; import java.util.HashMap; import java.util.Map; public class Main { public static Map lowerKeyMap(Map map) { Map<String, Object> lowerKeyMap = new HashMap<String, Object>(); for (Object key : map.keySet()) { if (key instanceof String) { lowerKeyMap.put(((String) key).toLowerCase(), map.get(key)); } } return lowerKeyMap; } }