Class EnumBitSet<E extends Enum<E>>
java.lang.Object
java.util.BitSet
net.covers1624.coffeegrinder.util.EnumBitSet<E>
- All Implemented Interfaces:
Serializable,Cloneable,net.covers1624.quack.util.Copyable<EnumBitSet<E>>
public class EnumBitSet<E extends Enum<E>>
extends BitSet
implements net.covers1624.quack.util.Copyable<EnumBitSet<E>>
A
BitSet specialized for Enum values effectively creating
a Enum Bitfield.
Created by covers1624 on 20/4/21.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclone()copy()static <T extends Enum<T>>
EnumBitSet<T> copyOf(EnumBitSet<T> other) voidbooleanstatic <T extends Enum<T>>
EnumBitSet<T> static <T extends Enum<T>>
EnumBitSet<T> of(T... elements) voidtoSet()toString()Methods inherited from class java.util.BitSet
and, andNot, cardinality, clear, clear, clear, equals, flip, flip, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, or, previousClearBit, previousSetBit, set, set, set, set, size, stream, toByteArray, toLongArray, valueOf, valueOf, valueOf, valueOf, xor