FSTMetadata

class FSTMetadata<T>(val inputType: FST.INPUT_TYPE, val outputs: Outputs<T>, var emptyOutput: T?, startNode: Long, version: Int, numBytes: Long)

Represents the FST metadata.

Parameters

the FST output type

Constructors

Link copied to clipboard
constructor(inputType: FST.INPUT_TYPE, outputs: Outputs<T>, emptyOutput: T?, startNode: Long, version: Int, numBytes: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns the version constant of the binary format this FST was written in. See the static final int VERSION constants in FST's javadoc, e.g. .

Functions

Link copied to clipboard
fun save(metaOut: DataOutput)

Save the metadata to a DataOutput