Package org.apache.lucene.util.fst
Class FST.Arc.BitTable
- java.lang.Object
-
- org.apache.lucene.util.fst.FST.Arc.BitTable
-
-
Constructor Summary
Constructors Constructor Description BitTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
assertIsValid()
(package private) FST.Arc.BitTable
copy()
Creates a newFST.Arc.BitTable
by copying this one.(package private) int
countBits()
Forwards toBitUtil.countBits(long[], int)
.(package private) int
countBitsUpTo(int bitIndex)
Forwards toBitUtil.countBitsUpTo(long[], int, int)
.(package private) boolean
isBitSet(int bitIndex)
Forwards toBitUtil.isBitSet(long[], int, int)
.(package private) int
nextBitSet(int bitIndex)
Forwards toBitUtil.nextBitSet(long[], int, int)
.(package private) int
previousBitSet(int bitIndex)
Forwards toBitUtil.previousBitSet(long[], int, int)
.(package private) FST.Arc.BitTable
setNumLongs(int numLongs)
Sets the number of longs in the internal long array.
-
-
-
Method Detail
-
setNumLongs
FST.Arc.BitTable setNumLongs(int numLongs)
Sets the number of longs in the internal long array. Enlarges it if needed. Always clears the array.
-
copy
FST.Arc.BitTable copy()
Creates a newFST.Arc.BitTable
by copying this one.
-
assertIsValid
boolean assertIsValid()
-
isBitSet
boolean isBitSet(int bitIndex)
Forwards toBitUtil.isBitSet(long[], int, int)
.
-
countBits
int countBits()
Forwards toBitUtil.countBits(long[], int)
.
-
countBitsUpTo
int countBitsUpTo(int bitIndex)
Forwards toBitUtil.countBitsUpTo(long[], int, int)
.
-
nextBitSet
int nextBitSet(int bitIndex)
Forwards toBitUtil.nextBitSet(long[], int, int)
.
-
previousBitSet
int previousBitSet(int bitIndex)
Forwards toBitUtil.previousBitSet(long[], int, int)
.
-
-