Package gw.util
Class CaseInsensitiveSet<T extends CharSequence>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<T>
gw.util.CaseInsensitiveSet<T>
- All Implemented Interfaces:
Serializable,Iterable<T>,Collection<T>,Set<T>
public class CaseInsensitiveSet<T extends CharSequence>
extends AbstractSet<T>
implements Set<T>, Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCaseInsensitiveSet(int initialCapacity) CaseInsensitiveSet(Collection<? extends T> c) CaseInsensitiveSet(T[] stringArray) -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, spliterator, toArray, toArray
-
Field Details
-
_map
-
MARKER
-
-
Constructor Details
-
CaseInsensitiveSet
public CaseInsensitiveSet() -
CaseInsensitiveSet
-
CaseInsensitiveSet
-
CaseInsensitiveSet
public CaseInsensitiveSet(int initialCapacity)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<T extends CharSequence>- Specified by:
sizein interfaceSet<T extends CharSequence>- Specified by:
sizein classAbstractCollection<T extends CharSequence>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T extends CharSequence>- Specified by:
isEmptyin interfaceSet<T extends CharSequence>- Overrides:
isEmptyin classAbstractCollection<T extends CharSequence>
-
contains
- Specified by:
containsin interfaceCollection<T extends CharSequence>- Specified by:
containsin interfaceSet<T extends CharSequence>- Overrides:
containsin classAbstractCollection<T extends CharSequence>
-
iterator
- Specified by:
iteratorin interfaceCollection<T extends CharSequence>- Specified by:
iteratorin interfaceIterable<T extends CharSequence>- Specified by:
iteratorin interfaceSet<T extends CharSequence>- Specified by:
iteratorin classAbstractCollection<T extends CharSequence>
-
add
- Specified by:
addin interfaceCollection<T extends CharSequence>- Specified by:
addin interfaceSet<T extends CharSequence>- Overrides:
addin classAbstractCollection<T extends CharSequence>
-
remove
- Specified by:
removein interfaceCollection<T extends CharSequence>- Specified by:
removein interfaceSet<T extends CharSequence>- Overrides:
removein classAbstractCollection<T extends CharSequence>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T extends CharSequence>- Specified by:
clearin interfaceSet<T extends CharSequence>- Overrides:
clearin classAbstractCollection<T extends CharSequence>
-