Package io.github.jbellis.jvector.util
Class SparseBits
java.lang.Object
io.github.jbellis.jvector.util.SparseBits
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.jbellis.jvector.util.Bits
Bits.MatchAllBits, Bits.MatchNoBits
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SparseBits
public SparseBits()
-
-
Method Details
-
get
public boolean get(int index) Description copied from interface:Bits
Returns the value of the bit with the specifiedindex
. -
set
public void set(int index) -
clear
public void clear() -
cardinality
public int cardinality()
-