public class BlockingSet<E> extends Object implements Set<E>
Constructor and Description |
---|
BlockingSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
boolean |
addAll(Collection<? extends E> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
isEmpty() |
Iterator<E> |
iterator()
The returned iterator does not support removal.
|
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, wait
equals, hashCode, spliterator
parallelStream, removeIf, stream
public int size()
public boolean isEmpty()
public boolean contains(Object o)
@NotNull public Object[] toArray()
@NotNull public <T> T[] toArray(@NotNull T[] a)
public boolean containsAll(@NotNull Collection<?> c)
containsAll
in interface Collection<E>
containsAll
in interface Set<E>
public boolean add(E e)
public boolean remove(Object o)
public boolean addAll(@NotNull Collection<? extends E> c)
public boolean retainAll(@NotNull Collection<?> c)
public boolean removeAll(@NotNull Collection<?> c)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.