Class FlattenGraphFilter.OutputNode

  • All Implemented Interfaces:
    RollingBuffer.Resettable
    Enclosing class:
    FlattenGraphFilter

    private static final class FlattenGraphFilter.OutputNode
    extends java.lang.Object
    implements RollingBuffer.Resettable
    Gathers up merged input positions into a single output position, only for the current "frontier" of nodes we've seen but can't yet output because they are not frozen.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int endOffset
      End offset of tokens arriving to this node.
      private IntArrayList inputNodes  
      (package private) int nextOut
      Which input node (index into inputNodes) we will next output.
      (package private) int node
      Node ID for this output, or -1 if we haven't been assigned yet.
      (package private) int startOffset
      Start offset of tokens leaving this node.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private OutputNode()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • node

        int node
        Node ID for this output, or -1 if we haven't been assigned yet.
      • nextOut

        int nextOut
        Which input node (index into inputNodes) we will next output.
      • startOffset

        int startOffset
        Start offset of tokens leaving this node.
      • endOffset

        int endOffset
        End offset of tokens arriving to this node.
    • Constructor Detail

      • OutputNode

        private OutputNode()