Package org.javalite.common
Class CaseInsensitiveSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.TreeSet<String>
-
- org.javalite.common.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 forjava.lang.Stringelements. The current implementation is based onTreeSet, so it does not acceptnullkeys and keeps entries ordered by case insensitive alphabetical order of keys.- Author:
- Eric Nielsen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CaseInsensitiveSet()CaseInsensitiveSet(Collection<? extends String> c)
-
Method Summary
-
Methods 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 Detail
-
CaseInsensitiveSet
public CaseInsensitiveSet()
-
CaseInsensitiveSet
public CaseInsensitiveSet(Collection<? extends String> c)
-
-