Class CaseInsensitiveSet

All Implemented Interfaces:
Serializable, Cloneable, Iterable<String>, Collection<String>, NavigableSet<String>, Set<String>, SortedSet<String>

public class CaseInsensitiveSet extends TreeSet<String>
A case insensitive set for java.lang.String elements. The current implementation is based on TreeSet, so it does not accept null keys and keeps entries ordered by case insensitive alphabetical order of keys.
Author:
Eric Nielsen
See Also:
Serialized Form
  • Constructor Details

    • CaseInsensitiveSet

      public CaseInsensitiveSet()
    • CaseInsensitiveSet

      public CaseInsensitiveSet(Collection<? extends String> c)