Class OperatorsFusion.MultiComposedFun<X,Y>

java.lang.Object
eu.bandm.tools.util.OperatorsFusion.MultiComposedFun<X,Y>
All Implemented Interfaces:
Operators.Fun<X,Y>
Enclosing class:
OperatorsFusion

static class OperatorsFusion.MultiComposedFun<X,Y> extends Object implements Operators.Fun<X,Y>
  • Field Details

  • Constructor Details

    • MultiComposedFun

      public MultiComposedFun(Operators.Fun... funs)
  • Method Details

    • apply

      public Y apply(X x)
      Description copied from interface: Operators.Fun
      Compute an output element from an input element. Computation should be stateless and thread-safe, i.e., f.apply(x) for a given fixed function object f and input element x should not vary unless the observable state of x varies.
      Specified by:
      apply in interface Operators.Fun<X,Y>
      Parameters:
      x - an input element.
      Returns:
      an output element.
    • toString

      public String toString()
      Overrides:
      toString in class Object