public abstract class RelationToThreshold extends AnchorBean<RelationToThreshold> implements GenerateUniqueParameterization
Together this forms a predicate, that can be compared against a value.
Constructor and Description |
---|
RelationToThreshold() |
Modifier and Type | Method and Description |
---|---|
java.util.function.DoublePredicate |
asPredicateDouble()
Expresses the relation as a predicate on values, where only values that fulfill the relation
to threshold are true.
|
java.util.function.IntPredicate |
asPredicateInt()
Like
asPredicateDouble() but expresses the relationship for an integer. |
abstract DoubleBiPredicate |
relation()
The relation to the threshold.
|
abstract double |
threshold()
The threshold-value.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, uniqueName
public abstract double threshold()
public abstract DoubleBiPredicate relation()
public java.util.function.DoublePredicate asPredicateDouble()
public java.util.function.IntPredicate asPredicateInt()
asPredicateDouble()
but expresses the relationship for an integer.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.