Constructor and Description |
---|
MixedEnumSet()
Constructs an empty mixed enum set.
|
MixedEnumSet(Collection<? extends Enum<?>> c)
Constructs a new mixed enum set, initialized to the given
collection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(Enum<?> anEnum) |
boolean |
addAll(Collection<? extends Enum<?>> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<Enum<?>> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Enum<?>[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
parallelStream, removeIf, stream
public MixedEnumSet()
public MixedEnumSet(Collection<? extends Enum<?>> c)
c
- a collection of enum constantspublic boolean equals(Object o)
public int hashCode()
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Enum<?>[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(Enum<?> anEnum)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<Enum<?>>
containsAll
in interface Set<Enum<?>>
public boolean addAll(Collection<? extends Enum<?>> c)
public boolean retainAll(Collection<?> c)
public boolean removeAll(Collection<?> c)
Copyright © 2016. All Rights Reserved.