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
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
public CaseInsensitiveHashSet(Collection<? extends String> source)
source
- The source collection to use for initialization.Copyright © 2005–2013. All rights reserved.