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
    S process​(T initialization, org.anchoranalysis.feature.energy.EnergyStack energyStack)
    Processes the initialization with an energy stack.
  • Method Details

    • process

      S process​(T initialization, org.anchoranalysis.feature.energy.EnergyStack energyStack) throws org.anchoranalysis.core.exception.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:
      org.anchoranalysis.core.exception.OperationFailedException - if the operation fails