Interface DefineOutputterWithEnergy.ProcessWithEnergyStack<T,S>

Type Parameters:
T - initialization-type
S - return-type
Enclosing class:
DefineOutputterWithEnergy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DefineOutputterWithEnergy.ProcessWithEnergyStack<T,S>
Functional interface for processing with an energy stack.
  • Method Summary

    Modifier and Type
    Method
    Description
    process(T initialization, EnergyStack energyStack)
    Processes the initialization with an energy stack.
  • Method Details

    • process

      S process(T initialization, EnergyStack energyStack) throws OperationFailedException
      Processes the initialization with an energy stack.
      Parameters:
      initialization - the initialization to process
      energyStack - the energy stack
      Returns:
      the result of the processing
      Throws:
      OperationFailedException - if the operation fails