public class CaseInsensitiveHashSet<T> extends HashSet<T>
Constructor and Description |
---|
CaseInsensitiveHashSet() |
CaseInsensitiveHashSet(Collection c) |
CaseInsensitiveHashSet(int initialCapacity) |
CaseInsensitiveHashSet(int initialCapacity,
float loadFactor) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T o) |
boolean |
contains(Object o) |
Iterator<T> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c)
Removes all elements specified in the parameter collection from the current set.
|
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
equals, hashCode
addAll, containsAll, retainAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
parallelStream, removeIf, stream
public CaseInsensitiveHashSet()
public CaseInsensitiveHashSet(Collection c)
public CaseInsensitiveHashSet(int initialCapacity)
public CaseInsensitiveHashSet(int initialCapacity, float loadFactor)
public boolean add(T o)
public boolean contains(Object o)
public boolean remove(Object o)
public Object[] toArray()
toArray
in interface Collection<T>
toArray
in interface Set<T>
toArray
in class AbstractCollection<T>
public boolean removeAll(Collection c)
removeAll
in interface Collection<T>
removeAll
in interface Set<T>
removeAll
in class AbstractSet<T>
c
- The collection of elements that need to be removed from this set.true
if at least one element has been removed from this set.AbstractSet.removeAll(java.util.Collection)
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.