testbox.system.modules.cbstreams.models.proxies

Class Supplier

lucee.Component
    extended by testbox.system.modules.cbstreams.models.proxies.Supplier
Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init(any supplier)
          Constructor.
    Method Summary
    any get()
         Functional interface for supplier to get a result.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any supplier)

    Constructor

    Parameters:
    supplier - The lambda or closure that will supply the elements

    Method Detail

    get

    public any get()

    Functional interface for supplier to get a result See https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html