com.cybermkd.common.entity.CaseInsensitiveSet Maven / Gradle / Ivy
package com.cybermkd.common.entity;
import java.util.TreeSet;
/**
* A case insensitive map for java.lang.String
keys. The current implementation is based on
* {@link java.util.TreeMap}, so it does not accept null
keys and keeps entries ordered by case
* insensitive alphabetical order of keys.
*/
public class CaseInsensitiveSet extends TreeSet {
public CaseInsensitiveSet() {
super(String.CASE_INSENSITIVE_ORDER);
}
}