testbox.system.modules.cbstreams.models.proxies

Class BiFunction

lucee.Component
    extended by testbox.system.modules.cbstreams.models.proxies.BiFunction
Direct Known Subclasses:
BinaryOperator

Functional interface that maps to java.util.function.BiFunction See https://docs.oracle.com/javase/8/docs/api/java/util/function/BiFunction.html

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init(any f)
          Constructor.
    Method Summary
    any andThen(any after)
    any apply(any previous, any item)
         Functional interface for the apply functionional interface.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any f)

    Constructor

    Parameters:
    f - a function to be applied to to the previous element to produce a new element

    Method Detail

    andThen

    public any andThen(any after)

    Parameters:
    after

    apply

    public any apply(any previous, any item)

    Functional interface for the apply functionional interface See https://docs.oracle.com/javase/8/docs/api/java/util/function/BiFunction.html#apply-T-U-

    Parameters:
    previous
    item