Module java.base
Package java.util

# Interface Set

=
public abstract interface Set<E>
extends java.util.Collection<E>

## Methods

- =
  public abstract boolean add(E arg0)
- =
  public abstract boolean addAll(java.util.Collection<? extends E> arg0)
- =
  public abstract void clear()
- =
  public abstract boolean contains(java.lang.Object arg0)
- =
  public abstract boolean containsAll(java.util.Collection<?> arg0)
- =
  public static <E> java.util.Set<E> copyOf(java.util.Collection<? extends E> arg0)
- =
  public abstract boolean equals(java.lang.Object arg0)
- =
  public abstract int hashCode()
- =
  public abstract boolean isEmpty()
- =
  public abstract java.util.Iterator<E> iterator()
- =
  public static <E> java.util.Set<E> of()
- =
  @SafeVarargs
  public static <E> java.util.Set<E> of(E[] arg0)
- =
  public static <E> java.util.Set<E> of(E arg0)
- =
  public static <E> java.util.Set<E> of(E arg0, E arg1)
- =
  public static <E> java.util.Set<E> of(E arg0, E arg1, E arg2)
- =
  public static <E> java.util.Set<E> of(E arg0, E arg1, E arg2, E arg3)
- =
  public static <E> java.util.Set<E> of(E arg0, E arg1, E arg2, E arg3, E arg4)
- =
  public static <E> java.util.Set<E> of(E arg0, E arg1, E arg2, E arg3, E arg4, E arg5)
- =
  public static <E> java.util.Set<E> of(E arg0, E arg1, E arg2, E arg3, E arg4, E arg5, E arg6)
- =
  public static <E> java.util.Set<E> of(E arg0, E arg1, E arg2, E arg3, E arg4, E arg5, E arg6, E arg7)
- =
  public static <E> java.util.Set<E> of(E arg0, E arg1, E arg2, E arg3, E arg4, E arg5, E arg6, E arg7, E arg8)
- =
  public static <E> java.util.Set<E> of(E arg0, E arg1, E arg2, E arg3, E arg4, E arg5, E arg6, E arg7, E arg8, E arg9)
- =
  public abstract boolean remove(java.lang.Object arg0)
- =
  public abstract boolean removeAll(java.util.Collection<?> arg0)
- =
  public abstract boolean retainAll(java.util.Collection<?> arg0)
- =
  public abstract int size()
- =
  public default java.util.Spliterator<E> spliterator()
- =
  public abstract java.lang.Object[] toArray()
- =
  public abstract <T> T[] toArray(T[] arg0)

## Summary

No differences.