Class Operators.LiftedMapMap<X,Y,Z>

java.lang.Object
eu.bandm.tools.util.Operators.LiftedFun<Y,Z>
eu.bandm.tools.util.Operators.LiftedMapMap<X,Y,Z>
All Implemented Interfaces:
Operators.Fun<Map<X,Y>,Map<X,Z>>
Enclosing class:
Operators

static class Operators.LiftedMapMap<X,Y,Z> extends Operators.LiftedFun<Y,Z> implements Operators.Fun<Map<X,Y>,Map<X,Z>>
  • Constructor Details

    • LiftedMapMap

      public LiftedMapMap(Operators.Fun<? super Y,? extends Z> fun)
  • Method Details

    • apply

      public Map<X,Z> apply(Map<X,Y> elems)
      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:
      elems - an input element.
      Returns:
      an output element.
    • getName

      public String getName()
      Specified by:
      getName in class Operators.LiftedFun<Y,Z>