Package org.elasticsearch.common.util
Class BitArray
java.lang.Object
org.elasticsearch.common.util.BitArray
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,Releasable
public final class BitArray extends java.lang.Object implements Releasable
-
Constructor Details
-
Method Details
-
set
public void set(int index)Set theindexth bit. -
clear
public void clear(int index)Clear theindexth bit. -
get
public boolean get(int index)Is theindexth bit set? -
close
public void close()- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceReleasable
-