java.util
public class EnumSet<T extends Enum<T>> extends AbstractSet<T> implements Cloneable, Serializable
Since: 1.5
Method Summary | |
---|---|
boolean | add(T val) |
boolean | addAll(Collection<? extends T> c) |
static <T extends Enum<T>> EnumSet<T> | allOf(Class<T> eltType) |
void | clear() |
EnumSet<T> | clone() |
static <T extends Enum<T>> EnumSet<T> | complementOf(EnumSet<T> other) |
boolean | contains(Object o) |
boolean | containsAll(Collection<?> c) |
static <T extends Enum<T>> EnumSet<T> | copyOf(EnumSet<T> other) |
static <T extends Enum<T>> EnumSet<T> | copyOf(Collection<T> other) |
Iterator<T> | iterator() |
static <T extends Enum<T>> EnumSet<T> | noneOf(Class<T> eltType) |
static <T extends Enum<T>> EnumSet<T> | of(T first) |
static <T extends Enum<T>> EnumSet<T> | of(T first, T second) |
static <T extends Enum<T>> EnumSet<T> | of(T first, T second, T third) |
static <T extends Enum<T>> EnumSet<T> | of(T first, T second, T third, T fourth) |
static <T extends Enum<T>> EnumSet<T> | of(T first, T second, T third, T fourth, T fifth) |
static <T extends Enum<T>> EnumSet<T> | of(T first, T... rest) |
static <T extends Enum<T>> EnumSet<T> | range(T from, T to) |
boolean | remove(Object o) |
boolean | removeAll(Collection<?> c) |
boolean | retainAll(Collection<?> c) |
int | size() |