org.nuiton.wikitty.search.operators
Class Less
java.lang.Object
org.nuiton.wikitty.search.operators.Restriction
org.nuiton.wikitty.search.operators.BinaryOperator
org.nuiton.wikitty.search.operators.Less
- All Implemented Interfaces:
- Serializable
public class Less
- extends BinaryOperator
- implements Serializable
Less 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
| Fields inherited from class org.nuiton.wikitty.search.operators.Restriction |
name |
|
Constructor Summary |
Less()
Default constructor |
Less
public Less()
- 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.