T
- feature input-type of all features in the list, as well as the returned result.public abstract class FeatureFromList<T extends FeatureInput> extends Feature<T>
Feature
that is a function of the results from a list of other
features.Modifier | Constructor and Description |
---|---|
protected |
FeatureFromList() |
protected |
FeatureFromList(FeatureList<T> featureList)
Create from a list of features.
|
Modifier and Type | Method and Description |
---|---|
protected String |
descriptionForList(String join)
Derive a string description of all the items of the list concatenated together.
|
List<Feature<T>> |
getList()
The features whose results will be somehow combined, to form the result of this class.
|
Class<? extends FeatureInput> |
inputType()
The class corresponding to feature input-type.
|
void |
setList(FeatureList<T> list)
Assigns the list of features to use.
|
void |
setList(List<Feature<T>> list)
Assigns the list of features to use.
|
assignTo, beforeCalc, calculate, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
protected FeatureFromList(FeatureList<T> featureList)
featureList
- the list of features.protected FeatureFromList()
protected String descriptionForList(String join)
Each feature's individual description is separated from the next by joinCharacter
.
join
- the character to separate items in the list.public void setList(List<Feature<T>> list)
list
- the list to assign.public void setList(FeatureList<T> list)
list
- the list to assign.public Class<? extends FeatureInput> inputType()
Feature
i.e. corresponding to the T
template parameter.
inputType
in class Feature<T extends FeatureInput>
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.