Java java.util EnumSet fields, constructors, methods, implement or subclass

Example usage for Java java.util EnumSet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util EnumSet.

The text is from its open source code.

Method

EnumSetallOf(Class elementType)
Creates an enum set containing all of the elements in the specified element type.
EnumSetclone()
Returns a copy of this set.
EnumSetcomplementOf(EnumSet s)
Creates an enum set with the same element type as the specified enum set, initially containing all the elements of this type that are not contained in the specified set.
EnumSetcopyOf(EnumSet s)
Creates an enum set with the same element type as the specified enum set, initially containing the same elements (if any).
EnumSetcopyOf(Collection c)
Creates an enum set initialized from the specified collection.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
ClassgetClass()
Returns the runtime class of this Object .
EnumSetnoneOf(Class elementType)
Creates an empty enum set with the specified element type.
EnumSetof(E e1, E e2, E e3)
Creates an enum set initially containing the specified elements.
EnumSetof(E e)
Creates an enum set initially containing the specified element.
EnumSetof(E e1, E e2)
Creates an enum set initially containing the specified elements.
EnumSetof(E first, E... rest)
Creates an enum set initially containing the specified elements.
EnumSetof(E e1, E e2, E e3, E e4)
Creates an enum set initially containing the specified elements.
EnumSetof(E e1, E e2, E e3, E e4, E e5)
Creates an enum set initially containing the specified elements.
EnumSetrange(E from, E to)
Creates an enum set initially containing all of the elements in the range defined by the two specified endpoints.
StringtoString()
Returns a string representation of the object.