Skip to content
Snippets Groups Projects
Commit 73295e6c authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

switched wrong javadocs

parent dc1037fc
No related branches found
No related tags found
No related merge requests found
......@@ -23,35 +23,36 @@ import teetime.stage.basic.distributor.strategy.IDistributorStrategy;
import teetime.stage.basic.distributor.strategy.RoundRobinStrategy2;
/**
* New output ports can be created by calling {@link #getNewOutputPort()}.
*
* @stage.sketch
*
* <pre>
* +---------------------------+
* | |
* +---+ |
* | | +-----------+ |
* +---+ | |
* | | |
* | +---+
* . . . . ---+-------&gt; | |
* | +---+
* | | |
* +---+ | |
* | | +-----------+ |
* +---+ |
* | |
* +---------------------------+
*
*
* <pre>
* +----------------------------+
* | |
* | +---+
* | +------------&gt; | |
* | | +---+
* | | |
* +---+ |
* | | +-------+--- . . . .
* +---+ |
* | | |
* | | +---+
* | +------------&gt; | |
* | +---+
* | |
* +----------------------------+
* </pre>
*
* @author Christian Wulf
* @stage.output The incoming element will be passed to output ports, which are selected by a strategy.
*
* @author Christian Wulf, Nelson Tavares de Sousa
*
* @since 1.0
*
* @param T
* the type of the input port and the output ports
* @param <T>
* the type of both the input and output ports
*/
public class Distributor<T> extends AbstractConsumerStage<T> {
......
......@@ -26,36 +26,36 @@ import teetime.stage.basic.merger.strategy.RoundRobinStrategy;
/**
*
* This stage merges data from the input ports, by taking elements according to the chosen merge strategy and by putting them to the output port.
* New output ports can be created by calling {@link #createOutputPort()}.
* New input ports can be created by calling {@link #getNewInputPort()}.
*
* @stage.sketch
*
* <pre>
* +----------------------------+
* | |
* | +---+
* | +------------&gt; | |
* | | +---+
* | | |
* +---+ |
* | | +-------+--- . . . .
* +---+ |
* | | |
* | | +---+
* | +------------&gt; | |
* | +---+
* | |
* +----------------------------+
* </pre>
* +---------------------------+
* | |
* +---+ |
* | | +-----------+ |
* +---+ | |
* | | |
* | +---+
* . . . . ---+-------&gt; | |
* | +---+
* | | |
* +---+ | |
* | | +-----------+ |
* +---+ |
* | |
* +---------------------------+
*
*
* @stage.output The incoming element will be passed to output ports, which are selected by a strategy.
* </pre>
*
* @author Christian Wulf, Nelson Tavares de Sousa
* @author Christian Wulf
*
* @since 1.0
*
* @param <T>
* the type of both the input and output ports
* @param T
* the type of the input port and the output ports
*/
public class Merger<T> extends AbstractStage {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment