Package org.alfresco.solr.query
Class HybridBitSet
java.lang.Object
org.alfresco.solr.query.HybridBitSet
- Direct Known Subclasses:
EmptyHybridBitSet
The HybridBitSet is a random access (doesn't support iteration) BitSet implementation that uses a FixedBitSet for the first N bits
and a HashSet for higher bits. This is designed to provide a balance between the high performance of FixedBitSet and
the efficient sparse behavior of a HashSet.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HybridBitSet
public HybridBitSet()
-
-
Method Details
-
set
public void set(long bit) -
get
public boolean get(long bit)
-