Class ChainLink<I,M,O>
java.lang.Object
com.github.hakenadu.javalangchains.chains.ChainLink<I,M,O>
- Type Parameters:
I- type of the input chain's inputM- type of the input chain's output and the output chain's inputO- type of the output chain's output
- All Implemented Interfaces:
Chain<I,O>
public final class ChainLink<I,M,O> extends Object implements Chain<I,O>
A Link Between Worlds ;-)
-
Method Details
-
run
Description copied from interface:ChainExecute thisChain -
isHead
public boolean isHead()- Returns:
- true if this
ChainLinkis the first one of the whole chain
-
isTail
public boolean isTail()- Returns:
- true if this
ChainLinkis the final one of the whole chain
-
getInputChain
- Returns:
inputChain
-
getOutputChain
- Returns:
outputChain
-