Package | Description |
---|---|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class | Description |
---|---|---|
class |
OpenBitSetDISI |
OpenBitSet with added methods to bulk-update the bits
from a
DocIdSetIterator . |
Modifier and Type | Method | Description |
---|---|---|
void |
OpenBitSet.and(OpenBitSet other) |
|
void |
OpenBitSet.andNot(OpenBitSet other) |
|
static long |
OpenBitSet.andNotCount(OpenBitSet a,
OpenBitSet b) |
Returns the popcount or cardinality of "a and not b"
or "intersection(a, not(b))".
|
void |
OpenBitSet.intersect(OpenBitSet other) |
this = this AND other
|
static long |
OpenBitSet.intersectionCount(OpenBitSet a,
OpenBitSet b) |
Returns the popcount or cardinality of the intersection of the two sets.
|
boolean |
OpenBitSet.intersects(OpenBitSet other) |
returns true if the sets have any elements in common
|
void |
OpenBitSet.or(OpenBitSet other) |
|
void |
OpenBitSet.remove(OpenBitSet other) |
Remove all elements set in other.
|
void |
OpenBitSet.union(OpenBitSet other) |
this = this OR other
|
static long |
OpenBitSet.unionCount(OpenBitSet a,
OpenBitSet b) |
Returns the popcount or cardinality of the union of the two sets.
|
void |
OpenBitSet.xor(OpenBitSet other) |
this = this XOR other
|
static long |
OpenBitSet.xorCount(OpenBitSet a,
OpenBitSet b) |
Returns the popcount or cardinality of the exclusive-or of the two sets.
|
Constructor | Description |
---|---|
OpenBitSetIterator(OpenBitSet obs) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.