All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.newrelic.labs.LowercaseKeyMap Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version

package com.newrelic.labs;

import java.util.HashMap;
import java.util.Map;

@SuppressWarnings("serial")
public class LowercaseKeyMap extends HashMap {
	@Override
	public Object put(String key, Object value) {
		return super.put(key.toLowerCase(), value);
	}

	@Override
	public void putAll(Map m) {
		for (Map.Entry entry : m.entrySet()) {
			this.put(entry.getKey().toLowerCase(), entry.getValue());
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy