Package gnu.lists

Interface PositionConsumer

    • Method Detail

      • writePosition

        void writePosition​(SeqPosition position)
        Consume node at current position. The caller may invalidate or change the position after consume returns, so if the consumer wants to save it, it needs to copy it.
      • writePosition

        void writePosition​(AbstractSequence seq,
                           int ipos)
        Consume a single position pair. This PositionConsumer may assume the sequence does no reference management; i.e. that copyPos is trivial and releasePos is a no-op. If that is not the case, use consume(TreePosition) instead.