public class More extends BaseConstraint<Double>
Double to be strictly greater than a given one.| Constructor and Description |
|---|
More(double n)
Creates a new instance with a double value.
|
public More(double n)
n - value.public Double than()
public boolean accepts(Double t)
true if a value satisfies the constraint.t - the value.true if the value satisfies the constraint, false if it does not.public String toString()
toString in class BaseConstraint<Double>Copyright © 2017. All Rights Reserved.