- java.lang.Object
-
- com.appslandia.common.base.CaseInsensitiveSet
-
- All Implemented Interfaces:
Serializable,Iterable<String>,Collection<String>,Set<String>
public class CaseInsensitiveSet extends Object implements Set<String>, Serializable
- Author:
- Loc Ha
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CaseInsensitiveSet()CaseInsensitiveSet(Set<String> newSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(String e)booleanaddAll(Collection<? extends String> c)voidclear()booleancontains(Object e)booleancontainsAll(Collection<?> c)booleanisEmpty()Iterator<String>iterator()booleanremove(Object e)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)intsize()Object[]toArray()<T> T[]toArray(T[] a)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
equals, hashCode, spliterator
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object e)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
add
public boolean add(String e)
-
remove
public boolean remove(Object e)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAllin interfaceCollection<String>- Specified by:
containsAllin interfaceSet<String>
-
addAll
public boolean addAll(Collection<? extends String> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
removeAll
public boolean removeAll(Collection<?> c)
-
-