Interface Operators.Fun<X,Y>

All Known Subinterfaces:
Operators.MultiFun<X,Y>
All Known Implementing Classes:
Operators.ComposedFun, Operators.ConstantFun, Operators.IdentityFun, Operators.IfThenElseFun, Operators.LazyConstantFun, Operators.LiftedIFold, Operators.LiftedMap, Operators.LiftedMapMap, Operators.LiftedMapSet, OperatorsFusion.MultiComposedFun
Enclosing class:
Operators

public static interface Operators.Fun<X,Y>
Represents functions with input type X and output type Y.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(X x)
    Compute an output element from an input element.
  • Method Details

    • apply

      Y apply(X x)
      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.
      Parameters:
      x - an input element.
      Returns:
      an output element.