testbox.system.modules.cbstreams.models.proxies

Class Consumer

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

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

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init(any f)
          Constructor.
    Method Summary
    void accept([any t])
         Performs this operation on the given argument.
    any andThen([any after])
     
    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 accept() method

    Method Detail

    accept

    public void accept([any t])

    Performs this operation on the given argument.

    Parameters:
    t

    andThen

    public any andThen([any after])

    Parameters:
    after