Class FeatureBinary<T extends FeatureInput>
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<Feature<T>,FeatureInitialization>
org.anchoranalysis.feature.bean.Feature<T>
org.anchoranalysis.feature.bean.operator.FeatureBinary<T>
- Type Parameters:
T- feature input-type of all features.
public abstract class FeatureBinary<T extends FeatureInput> extends Feature<T>
A base class for a
Feature that is a binary-function of the results from two other
features.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description FeatureBinary() -
Method Summary
Modifier and Type Method Description Feature<T>getItem1()Provides the first value for the binary-function.Feature<T>getItem2()Provides the second value for the binary-function.Class<? extends FeatureInput>inputType()The class corresponding to feature input-type.voidsetItem1(Feature<T> item1)Provides the first value for the binary-function.voidsetItem2(Feature<T> item2)Provides the second value for the binary-function.Methods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculate, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toStringMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitializedMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
-
Constructor Details
-
FeatureBinary
public FeatureBinary()
-
-
Method Details
-
inputType
Description copied from class:FeatureThe class corresponding to feature input-type.i.e. corresponding to the
Ttemplate parameter.- Specified by:
inputTypein classFeature<T extends FeatureInput>- Returns:
- the class.
-
getItem1
Provides the first value for the binary-function. -
setItem1
Provides the first value for the binary-function. -
getItem2
Provides the second value for the binary-function. -
setItem2
Provides the second value for the binary-function.
-