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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleannotContains(String val) static CaseInsensitiveSetstatic CaseInsensitiveSetParse 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, tailSetMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
-