public abstract class AbstractConcurrentSet<T> extends Object implements Set<T>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractConcurrentSet.Entry<T> |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T element) |
boolean |
addAll(Collection<? extends T> elements) |
void |
clear() |
boolean |
contains(Object element) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
remove(Object element) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
getClass, notify, notifyAll, toString, wait, wait, wait
iterator, spliterator
parallelStream, removeIf, stream
public boolean add(T element)
public boolean contains(Object element)
public int size()
public boolean isEmpty()
public boolean addAll(Collection<? extends T> elements)
public boolean remove(Object element)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface Set<T>
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public int hashCode()
Copyright © 2016. All rights reserved.