|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.trees.constraints.BaseConstraint<Double>
org.gcube.data.trees.constraints.Less
public class Less
Constrains Double values to be strictly smaller than a given one.
| Constructor Summary | |
|---|---|
Less(double d)
Creates an instance from a given value. |
|
| Method Summary | |
|---|---|
boolean |
accepts(Double t)
Returns true if a value satisfies the constraint. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
double |
than()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Less(double d)
d - the value.| Method Detail |
|---|
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>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||