public class Less extends BaseConstraint<Double>
Double values to be strictly smaller than a given one.| Constructor and Description |
|---|
Less(double d)
Creates an instance from a given value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Double t)
Returns
true if a value satisfies the constraint. |
boolean |
equals(Object obj) |
int |
hashCode() |
double |
than() |
String |
toString() |
public Less(double d)
d - the 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 © 2018. All Rights Reserved.