public class CheckedSet<T> extends Object implements Set<T>, Serializable
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CheckedSet.implementations  | 
| Constructor and Description | 
|---|
CheckedSet()  | 
CheckedSet(CheckedSet.implementations implementation)  | 
CheckedSet(Set<? extends T> prototype)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
add(T t)  | 
boolean | 
addAll(Collection<? extends T> c)  | 
SortedSet<T> | 
asSorted()
Returns a sorted, unmodifiable view IFF the backing peer
      is a sorted set. 
 | 
static <T> CheckedSet<T> | 
check(Set<? extends T> prototype)  | 
void | 
clear()  | 
boolean | 
contains(Object o)  | 
boolean | 
containsAll(Collection<?> c)  | 
boolean | 
equals(Object o)  | 
int | 
hashCode()  | 
boolean | 
isEmpty()  | 
Iterator<T> | 
iterator()  | 
boolean | 
remove(Object o)  | 
boolean | 
removeAll(Collection<?> c)  | 
boolean | 
retainAll(Collection<?> c)  | 
static <T> CheckedSet<T> | 
singleton(T x)  | 
int | 
size()  | 
Object[] | 
toArray()  | 
<T> T[] | 
toArray(T[] a)  | 
String | 
toString()  | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitspliteratorparallelStream, removeIf, streampublic CheckedSet()
public CheckedSet(CheckedSet.implementations implementation)
public static <T> CheckedSet<T> check(Set<? extends T> prototype)
public SortedSet<T> asSorted()
implementstion
      has been explicitly seelected as tree on creation.UnsupportedOperationException - if the backing peer does not
              offer a sorted view.public boolean add(T t)
public boolean addAll(Collection<? extends T> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T>containsAll in interface Set<T>public boolean equals(Object o)
public int hashCode()
public boolean isEmpty()
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public static <T> CheckedSet<T> singleton(T x)
see also the complete user documentation .