|
||||||||||
| 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.More
public class More
Constraints values of type Double to be strictly greater than a given one.
| Constructor Summary | |
|---|---|
More(double n)
Creates a new instance with a double 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 More(double n)
n - 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 | |||||||||