Module org.apache.lucene.core
Package org.apache.lucene.util.fst
Class FSTCompiler.FixedLengthArcsBuffer
java.lang.Object
org.apache.lucene.util.fst.FSTCompiler.FixedLengthArcsBuffer
- Enclosing class:
FSTCompiler<T>
Reusable buffer for building nodes with fixed length arcs (binary search or direct addressing).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) FSTCompiler.FixedLengthArcsBuffer
ensureCapacity
(int capacity) Ensures the capacity of the internal byte array.(package private) byte[]
getBytes()
Gets the internal byte array.(package private) int
(package private) FSTCompiler.FixedLengthArcsBuffer
(package private) FSTCompiler.FixedLengthArcsBuffer
writeByte
(byte b) (package private) FSTCompiler.FixedLengthArcsBuffer
writeVInt
(int i)
-
Field Details
-
bytes
private byte[] bytes -
bado
-
-
Constructor Details
-
FixedLengthArcsBuffer
FixedLengthArcsBuffer()
-
-
Method Details
-
ensureCapacity
Ensures the capacity of the internal byte array. Enlarges it if needed. -
resetPosition
FSTCompiler.FixedLengthArcsBuffer resetPosition() -
writeByte
-
writeVInt
-
getPosition
int getPosition() -
getBytes
byte[] getBytes()Gets the internal byte array.
-