org.nuiton.wikitty.search
Class Greater
java.lang.Object
org.nuiton.wikitty.search.Restriction
org.nuiton.wikitty.search.BinaryOperator
org.nuiton.wikitty.search.Greater
- All Implemented Interfaces:
- Serializable
public class Greater
- extends BinaryOperator
- implements Serializable
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()) )
- See Also:
- Serialized Form
|
Constructor Summary |
Greater()
Default constructor |
Greater
public Greater()
- Default constructor
equals
public boolean equals(Object other)
- Equality test based attributes values
- Overrides:
equals in class BinaryOperator
- Parameters:
value - Value to compare
hashCode
public int hashCode()
- Overrides:
hashCode in class BinaryOperator
Copyright © 2009-2010 CodeLutin. All Rights Reserved.