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(String element)
Verify containment by ignoring case.
|
clear, clone, contains, isEmpty, iterator, remove, size, spliterator
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
parallelStream, removeIf, stream
public CaseInsensitiveHashSet(Collection<? extends String> source)
source
- The source collection to use for initialization.Copyright © 2005–2016. All rights reserved.