|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.trees.constraints.BaseConstraint<Calendar>
org.gcube.data.trees.constraints.After
public class After
Accepts Calendar values that follow a given one.
| Constructor Summary | |
|---|---|
After(Calendar c)
Creates an instance with a given calendar. |
|
| Method Summary | |
|---|---|
boolean |
accepts(Calendar 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 After(Calendar c)
c - the calendar| Method Detail |
|---|
public boolean accepts(Calendar 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<Calendar>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 | |||||||||