Class CalculateDeriveSingleMemoFromPair

Object
org.anchoranalysis.feature.calculate.part.CalculationPart<FeatureInputSingleMemo,​FeatureInputPairMemo>
org.anchoranalysis.mpp.feature.bean.energy.element.CalculateDeriveSingleMemoFromPair
All Implemented Interfaces:
ResettableCalculation

public class CalculateDeriveSingleMemoFromPair
extends CalculationPart<FeatureInputSingleMemo,​FeatureInputPairMemo>
Derives a FeatureInputSingleMemo from a FeatureInputPairMemo.

This class selects either the first or second object from a pair of memoized objects, creating a new FeatureInputSingleMemo with the selected object and the energy stack.