Module java.base
Package java.util.concurrent

# Class CopyOnWriteArraySet

=
public class CopyOnWriteArraySet<E>
extends java.util.AbstractSet<E>
implements java.io.Serializable

## Constructors

- =
  public CopyOnWriteArraySet()
- =
  public CopyOnWriteArraySet(java.util.Collection<? extends E> arg0)

## Methods

- =
  public boolean add(E arg0)
- =
  public boolean addAll(java.util.Collection<? extends E> arg0)
- =
  public void clear()
- =
  public boolean contains(java.lang.Object arg0)
- =
  public boolean containsAll(java.util.Collection<?> arg0)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public void forEach(java.util.function.Consumer<? super E> arg0)
- =
  public boolean isEmpty()
- =
  public java.util.Iterator<E> iterator()
- =
  public boolean remove(java.lang.Object arg0)
- =
  public boolean removeAll(java.util.Collection<?> arg0)
- =
  public boolean removeIf(java.util.function.Predicate<? super E> arg0)
- =
  public boolean retainAll(java.util.Collection<?> arg0)
- =
  public int size()
- =
  public java.util.Spliterator<E> spliterator()
- =
  public java.lang.Object[] toArray()
- =
  public <T> T[] toArray(T[] arg0)

## Serialized Form

=

### serialVersionUID

=5457747651344034263

### Serialized Fields

- =
  java.util.concurrent.CopyOnWriteArrayList<E> al

## Summary

No differences.