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

cn.dreampie.common.entity.CaseInsensitiveSet Maven / Gradle / Ivy

There is a newer version: 1.3.0.RELEASE
Show newest version
package cn.dreampie.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);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy