Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.saxonica.extra
Class SequenceExchanger.Producer

    java.lang.Object
      com.saxonica.extra.SequenceExchanger.Producer

All Implemented Interfaces:
  java.lang.Runnable

Direct Known Subclasses:
  SequenceExchanger.EvaluationThread

Enclosing class:
  SequenceExchanger

public abstract static class SequenceExchanger.Producer
extends java.lang.Object
implements java.lang.Runnable

The class Producer represents the thread that pushes items onto the Conduit. The only special requirement for this thread is that it must be clonable using the getAnother() method.

Constructor Summary
`SequenceExchanger.Producer()` Default constructor

Method Summary
`abstract SequenceExchanger.Producer` | `getAnother(com.saxonica.extra.Conduit conduit)` Get a copy of this Producer, initialized to produce the same sequence of items as the original, but starting from the beginning (not from the current position).

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface java.lang.Runnable
`run`

Constructor Detail

### SequenceExchanger.Producer

    public SequenceExchanger.Producer()

  Default constructor

Method Detail

### getAnother

    public abstract SequenceExchanger.Producer getAnother(com.saxonica.extra.Conduit conduit)

  Get a copy of this Producer, initialized to produce the same sequence of items as the original, but starting from the beginning (not from the current position).

  Parameters:
    `conduit` - the conduit to which the items are written
  Returns:
    the new copy

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD