Class UpToTwoPositiveIntOutputs


  • public final class UpToTwoPositiveIntOutputs
    extends Outputs<Object>
    An FST Outputs implementation where each output is one or two non-negative long values. If it's a single output, Long is returned; else, TwoLongs. Order is preserved in the TwoLongs case, ie .first is the first input/output added to Builder, and .second is the second. You cannot store 0 output with this (that's reserved to mean "no output")! NOTE: the resulting FST is not guaranteed to be minimal! See Builder.
    WARNING: This API is experimental and might change in incompatible ways in the next release.