private static class SortingLeafReader.SortingBits extends java.lang.Object implements Bits
Bits.MatchAllBits, Bits.MatchNoBits| Modifier and Type | Field and Description |
|---|---|
private Sorter.DocMap |
docMap |
private Bits |
in |
EMPTY_ARRAY| Constructor and Description |
|---|
SortingBits(Bits in,
Sorter.DocMap docMap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
get(int index)
Returns the value of the bit with the specified
index. |
int |
length()
Returns the number of bits in this set
|
private final Bits in
private final Sorter.DocMap docMap
public SortingBits(Bits in, Sorter.DocMap docMap)
public boolean get(int index)
Bitsindex.get in interface Bitsindex - index, should be non-negative and < Bits.length().
The result of passing negative or out of bounds values is undefined
by this interface, just don't do it!true if the bit is set, false otherwise.