public class SetOf<V> extends Object implements Set<V>
| Constructor and Description |
|---|
SetOf() |
SetOf(CollectionOptions opts) |
SetOf(Comparator<V> cmp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(V e) |
boolean |
addAll(Collection<? extends V> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic SetOf()
public SetOf(Comparator<V> cmp)
public SetOf(CollectionOptions opts)
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(V e)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<V>containsAll in interface Set<V>public boolean addAll(Collection<? extends V> c)
public boolean retainAll(Collection<?> c)
public boolean removeAll(Collection<?> c)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.