TreeSet<String> myset = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
Programming Tips - Java: How can I make a case-insensitive HashSet ?
Date: 2016jun6
Language: Java
Keywords: HashMap, TreeMap
Q. Java: How can I make a case-insensitive HashSet ?
A. Use TreeSet like this: