Class FST.FSTMetadata<T>

  • Type Parameters:
    T - the FST output type
    Enclosing class:
    FST<T>

    public static final class FST.FSTMetadata<T>
    extends Object
    Represents the FST metadata.
    • Constructor Detail

      • FSTMetadata

        public FSTMetadata​(FST.INPUT_TYPE inputType,
                           Outputs<T> outputs,
                           T emptyOutput,
                           long startNode,
                           int version,
                           long numBytes)
    • Method Detail

      • getVersion

        public int getVersion()
        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. FST.VERSION_CONTINUOUS_ARCS.