|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.wikitty.search.Restriction
org.nuiton.wikitty.search.BinaryOperator
org.nuiton.wikitty.search.Greater
public class Greater
Greater operator is used to build restriction containing "element > value"
where element could be a Integer, a Float or a Date.
For example, use: RestrictionHelper.less( myElement ,
RestrictionHelper.DATE_FORMAT.format(new Date()) )
| Field Summary |
|---|
| Fields inherited from class org.nuiton.wikitty.search.BinaryOperator |
|---|
element, value |
| Fields inherited from class org.nuiton.wikitty.search.Restriction |
|---|
name |
| Constructor Summary | |
|---|---|
Greater()
Default constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Equality test based attributes values |
int |
hashCode()
|
| Methods inherited from class org.nuiton.wikitty.search.BinaryOperator |
|---|
getElement, getValue, setElement, setValue |
| Methods inherited from class org.nuiton.wikitty.search.Restriction |
|---|
getName, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Greater()
| Method Detail |
|---|
public boolean equals(java.lang.Object other)
equals in class BinaryOperatorvalue - Value to comparepublic int hashCode()
hashCode in class BinaryOperator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||