|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.trees.constraints.BaseConstraint<Date>
org.gcube.data.trees.constraints.BeforeDate
public class BeforeDate
Accepts Date values that precede a given one.
| Constructor Summary | |
|---|---|
BeforeDate()
|
|
BeforeDate(Date d)
Creates an instance from a given date. |
|
| Method Summary | |
|---|---|
boolean |
accepts(Date d)
Returns true if a value satisfies the constraint. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BeforeDate()
public BeforeDate(Date d)
d - the date| Method Detail |
|---|
public boolean accepts(Date d)
true if a value satisfies the constraint.
d - the value.
true if the value satisfies the constraint, false if it does not.public String toString()
toString in class BaseConstraint<Date>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 | |||||||||