Module java.base
Package java.util

# Class EnumSet

=
public abstract sealed class EnumSet<E>
extends java.util.AbstractSet<E>
implements java.io.Serializable, java.lang.Cloneable
permits java.util.JumboEnumSet<E>, java.util.RegularEnumSet<E>

## Methods

- =
  public static <E> java.util.EnumSet<E> allOf(java.lang.Class<E> arg0)
- =
  public java.util.EnumSet<E> clone()
- =
  public static <E> java.util.EnumSet<E> complementOf(java.util.EnumSet<E> arg0)
- =
  public static <E> java.util.EnumSet<E> copyOf(java.util.Collection<E> arg0)
- =
  public static <E> java.util.EnumSet<E> copyOf(java.util.EnumSet<E> arg0)
- =
  public static <E> java.util.EnumSet<E> noneOf(java.lang.Class<E> arg0)
- =
  public static <E> java.util.EnumSet<E> of(E arg0)
- =
  @SafeVarargs
  public static <E> java.util.EnumSet<E> of(E arg0, E[] arg1)
- =
  public static <E> java.util.EnumSet<E> of(E arg0, E arg1)
- =
  public static <E> java.util.EnumSet<E> of(E arg0, E arg1, E arg2)
- =
  public static <E> java.util.EnumSet<E> of(E arg0, E arg1, E arg2, E arg3)
- =
  public static <E> java.util.EnumSet<E> of(E arg0, E arg1, E arg2, E arg3, E arg4)
- =
  public static <E> java.util.EnumSet<E> range(E arg0, E arg1)
- =
  public java.util.Spliterator<E> spliterator()

## Serialized Form

=

### serialVersionUID

=1009687484059888093

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.InvalidObjectException
- =
  private void readObjectNoData() throws java.io.InvalidObjectException
- =
  java.lang.Object writeReplace()

## Summary

No differences.