public class CaseInsensitiveHashSet extends HashSet<String>
| Constructor and Description |
|---|
CaseInsensitiveHashSet(Collection<? extends String> source)
Constructor initializing the set with the given collection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String element) |
boolean |
contains(Object o) |
boolean |
contains(String element)
Verify containment by ignoring case.
|
clear, clone, isEmpty, iterator, remove, size, spliteratorequals, hashCode, removeAlladdAll, containsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArrayparallelStream, removeIf, streampublic CaseInsensitiveHashSet(Collection<? extends String> source)
source - The source collection to use for initialization.Copyright © 2005–2025. All rights reserved.