Interface Operators.MultiFun<X,Y>

All Superinterfaces:
Operators.Fun<X,Collection<Y>>
Enclosing class:
Operators

public static interface Operators.MultiFun<X,Y> extends Operators.Fun<X,Collection<Y>>
Represents multi-valued functions with domain X and codomain Y.
  • Method Summary

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

    • apply

      Collection<Y> apply(X x)
      Compute output elements from an input element. Whether multiplicity of output elements is significant is usage specific.
      Specified by:
      apply in interface Operators.Fun<X,Y>
      Parameters:
      x - an input element.
      Returns:
      a collection of output elements in arbitrary order.