Class FeatureBinary<T extends FeatureInput>
Object
AnchorBean<Feature<T>>
- Type Parameters:
T
- feature input-type of all features.
- Direct Known Subclasses:
NormalizedRange
,Range
A base class for a
Feature
that is a binary-function of the results from two other
features.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItem1()
Provides the first value for the binary-function.getItem2()
Provides the second value for the binary-function.Class
<? extends FeatureInput> The class corresponding to feature input-type.void
Provides the first value for the binary-function.void
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, toString
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
Methods 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:Feature
The class corresponding to feature input-type.i.e. corresponding to the
T
template parameter.- Specified by:
inputType
in 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.
-