org.nuiton.wikitty.search
Class LessOrEqual
java.lang.Object
org.nuiton.wikitty.search.Restriction
org.nuiton.wikitty.search.BinaryOperator
org.nuiton.wikitty.search.LessOrEqual
- All Implemented Interfaces:
- Serializable
public class LessOrEqual
- extends BinaryOperator
- implements Serializable
LessOrEqual operator is used to build restriction containing "element <=
value" where element could be a Integer, a Float or a Date.
For example, use: RestrictionHelper.lessEq( myElement ,
RestrictionHelper.DATE_FORMAT.format(new Date()) )
- See Also:
- Serialized Form
LessOrEqual
public LessOrEqual()
- Default constructor
equals
public boolean equals(Object other)
- Equality test based attributes values
- Overrides:
equals in class BinaryOperator
- Parameters:
other - Value to compare
hashCode
public int hashCode()
- Overrides:
hashCode in class BinaryOperator
Copyright © 2009-2010 CodeLutin. All Rights Reserved.