Example usage for Java com.badlogic.gdx.utils Bits fields, constructors, methods, implement or subclass
The text is from its open source code.
Bits() | |
Bits(int nbits) Creates a bit set whose initial size is large enough to explicitly represent bits with indices in the range 0 through nbits-1. |
boolean | containsAll(Bits other) Returns true if this bit set is a super set of the specified set, i.e. |
boolean | get(int index) |
boolean | isEmpty() |
int | length() Returns the "logical size" of this bitset: the index of the highest set bit in the bitset plus one. |
void | set(int index) |