java.lang.Object
zombie.entity.util.enums.EnumBitStore<E>
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddAll()voidaddAll(EnumBitStore<E> other) static <E extends Enum<E> & IOEnum>
EnumBitStore<E> voidclear()booleancontains(int bits) booleanvoidcopyFrom(EnumBitStore<E> other) static <E extends Enum<E> & IOEnum>
EnumBitStore<E> copyOf(EnumBitStore<E> other) booleanintgetBits()booleanisEmpty()iterator()voidload(ByteBuffer input) static <E extends Enum<E> & IOEnum>
EnumBitStore<E> static <E extends Enum<E> & IOEnum>
EnumBitStore<E> of(E e) static <E extends Enum<E> & IOEnum>
EnumBitStore<E> of(E e1, E e2) static <E extends Enum<E> & IOEnum>
EnumBitStore<E> of(E first, E... rest) static <E extends Enum<E> & IOEnum>
EnumBitStore<E> of(E e1, E e2, E e3) static <E extends Enum<E> & IOEnum>
EnumBitStore<E> of(E e1, E e2, E e3, E e4) static <E extends Enum<E> & IOEnum>
EnumBitStore<E> of(E e1, E e2, E e3, E e4, E e5) voidvoidsave(ByteBuffer output) voidsetBits(int bits) intsize()toString()
-
Method Details
-
noneOf
-
allOf
-
copyOf
-
of
-
of
-
of
-
of
-
of
-
of
-
copyFrom
-
addAll
-
addAll
public void addAll() -
add
-
remove
-
contains
-
contains
public boolean contains(int bits) -
size
public int size() -
isEmpty
public boolean isEmpty() -
clear
public void clear() -
getBits
public int getBits() -
setBits
public void setBits(int bits) -
save
- Throws:
IOException
-
load
- Throws:
IOException
-
equals
-
toString
-
iterator
-