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 case-preserving String Set
See Also:
  • Constructor Details

    • CaseInsensitiveSet

      public CaseInsensitiveSet()
    • CaseInsensitiveSet

      public CaseInsensitiveSet(Collection<String> existing)
  • Method Details

    • notContains

      public boolean notContains(String val)
    • of

      public static CaseInsensitiveSet of(String... values)
    • valueOf

      public static CaseInsensitiveSet valueOf(String encoded)
      Parse a simple comma-separated representation; leading and trailing whitespace will be stripped from elements; empty items will be ignored
      Parameters:
      encoded -
      Returns: