org.nuiton.wikitty.search
Class Equals
java.lang.Object
org.nuiton.wikitty.search.Restriction
org.nuiton.wikitty.search.BinaryOperator
org.nuiton.wikitty.search.Equals
- All Implemented Interfaces:
- Serializable
public class Equals
- extends BinaryOperator
- implements Serializable
Equals operator is used to build restriction containing "element == value"
where element could be an Id, a String, a multimedia, a closed list, an
Integer, a Float or a Date.
For example, use: RestrictionHelper.eq( myElement , "REF1234567890" )
- See Also:
- Serialized Form
|
Constructor Summary |
Equals()
Default constructor |
Equals
public Equals()
- 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.