Interface DefineOutputterWithEnergy.ProcessWithEnergyStack<T,S>
- Type Parameters:
T- initialization-typeS- 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 Details
-
process
S process(T initialization, org.anchoranalysis.feature.energy.EnergyStack energyStack) throws org.anchoranalysis.core.exception.OperationFailedExceptionProcesses the initialization with an energy stack.- Parameters:
initialization- the initialization to processenergyStack- the energy stack- Returns:
- the result of the processing
- Throws:
org.anchoranalysis.core.exception.OperationFailedException- if the operation fails
-