Package org.apache.lucene.util.fst
Class Builder.FixedLengthArcsBuffer
java.lang.Object
org.apache.lucene.util.fst.Builder.FixedLengthArcsBuffer
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) Builder.FixedLengthArcsBufferensureCapacity(int capacity) Ensures the capacity of the internal byte array.(package private) byte[]getBytes()Gets the internal byte array.(package private) int(package private) Builder.FixedLengthArcsBuffer(package private) Builder.FixedLengthArcsBufferwriteByte(byte b) (package private) Builder.FixedLengthArcsBufferwriteVInt(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
Builder.FixedLengthArcsBuffer resetPosition() -
writeByte
-
writeVInt
-
getPosition
int getPosition() -
getBytes
byte[] getBytes()Gets the internal byte array.
-