Class CaseInsensitiveStringSet
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<String>
,Collection<String>
,Set<String>
- Since:
- 3.2
- Author:
- Eike Stepper
- See Also:
-
Constructor Summary
ConstructorDescriptionCaseInsensitiveStringSet
(int initialCapacity) CaseInsensitiveStringSet
(int initialCapacity, float loadFactor) CaseInsensitiveStringSet
(Collection<? extends String> c) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends String> c) boolean
boolean
containsAll
(Collection<?> c) protected String
protected Collection<?>
convert
(Collection<?> c) boolean
boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) Methods inherited from class java.util.HashSet
clear, clone, isEmpty, iterator, size, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
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
-
CaseInsensitiveStringSet
public CaseInsensitiveStringSet() -
CaseInsensitiveStringSet
-
CaseInsensitiveStringSet
public CaseInsensitiveStringSet(int initialCapacity, float loadFactor) -
CaseInsensitiveStringSet
public CaseInsensitiveStringSet(int initialCapacity)
-
-
Method Details
-
isLowerCase
public boolean isLowerCase() -
contains
-
add
-
remove
-
removeAll
- Specified by:
removeAll
in interfaceCollection<String>
- Specified by:
removeAll
in interfaceSet<String>
- Overrides:
removeAll
in classAbstractSet<String>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<String>
- Specified by:
containsAll
in interfaceSet<String>
- Overrides:
containsAll
in classAbstractCollection<String>
-
addAll
- Specified by:
addAll
in interfaceCollection<String>
- Specified by:
addAll
in interfaceSet<String>
- Overrides:
addAll
in classAbstractCollection<String>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<String>
- Specified by:
retainAll
in interfaceSet<String>
- Overrides:
retainAll
in classAbstractCollection<String>
-
convert
-
convert
-