Package com.peterphi.std.util
Class CaseInsensitiveSet
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<String>
,Collection<String>
,NavigableSet<String>
,Set<String>
,SortedSet<String>
A case-insensitive case-preserving String Set
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
notContains
(String val) static CaseInsensitiveSet
static CaseInsensitiveSet
Parse a simple comma-separated representation; leading and trailing whitespace will be stripped from elements; empty items will be ignoredMethods inherited from class java.util.TreeSet
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSet
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
CaseInsensitiveSet
public CaseInsensitiveSet() -
CaseInsensitiveSet
-
-
Method Details
-
notContains
-
of
-
valueOf
Parse a simple comma-separated representation; leading and trailing whitespace will be stripped from elements; empty items will be ignored- Parameters:
encoded
-- Returns:
-