testbox.system.modules.cbstreams.models.proxies

Class Function

lucee.Component
    extended by testbox.system.modules.cbstreams.models.proxies.Function

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

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init(any f)
          Constructor.
    Method Summary
    any andThen([any after])
    any apply([any t])
         Represents a function that accepts one argument and produces a result.
    any compose([any before])
    any identity()
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any f)

    Constructor

    Parameters:
    f - The lambda or closure to be used in the apply() method

    Method Detail

    andThen

    public any andThen([any after])

    Parameters:
    after

    apply

    public any apply([any t])

    Represents a function that accepts one argument and produces a result.

    Parameters:
    t

    compose

    public any compose([any before])

    Parameters:
    before

    identity

    public any identity()