Interface ChainingOp<I,​O>

Type Parameters:
I - Some input type.
O - Some output type.
All Superinterfaces:
java.util.function.Function<I,​O>, Op

public interface ChainingOp<I,​O>
extends Op, java.util.function.Function<I,​O>
Run a function on the current cached result and replace it with the result of the function. Functions are one way of invoking logic within a cycle. However, they are not intended to stand alone. A CycleFunction must always have an input to work on. This input is provided by a Supplier as optionally implemented by an Op
  • Method Summary

    Modifier and Type Method Description
    O apply​(I i)  

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      O apply​(I i)
      Specified by:
      apply in interface java.util.function.Function<I,​O>