Example usage for Java java.util EnumSet fields, constructors, methods, implement or subclass
The text is from its open source code.
EnumSet | allOf(Class Creates an enum set containing all of the elements in the specified element type. |
EnumSet | clone() Returns a copy of this set. |
EnumSet | complementOf(EnumSet 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. |
EnumSet | copyOf(EnumSet Creates an enum set with the same element type as the specified enum set, initially containing the same elements (if any). |
EnumSet | copyOf(Collection Creates an enum set initialized from the specified collection. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Class> | getClass() Returns the runtime class of this Object . |
EnumSet | noneOf(Class Creates an empty enum set with the specified element type. |
EnumSet | of(E e1, E e2, E e3) Creates an enum set initially containing the specified elements. |
EnumSet | of(E e) Creates an enum set initially containing the specified element. |
EnumSet | of(E e1, E e2) Creates an enum set initially containing the specified elements. |
EnumSet | of(E first, E... rest) Creates an enum set initially containing the specified elements. |
EnumSet | of(E e1, E e2, E e3, E e4) Creates an enum set initially containing the specified elements. |
EnumSet | of(E e1, E e2, E e3, E e4, E e5) Creates an enum set initially containing the specified elements. |
EnumSet | range(E from, E to) Creates an enum set initially containing all of the elements in the range defined by the two specified endpoints. |
String | toString() Returns a string representation of the object. |