Package com.yahoo.document.predicate
Class Negation
- java.lang.Object
-
- com.yahoo.document.predicate.Predicate
-
- com.yahoo.document.predicate.PredicateOperator
-
- com.yahoo.document.predicate.Negation
-
- All Implemented Interfaces:
java.lang.Cloneable
public class Negation extends PredicateOperator
- Author:
- Simon Thoresen Hult
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendTo(java.lang.StringBuilder out)
Negation
clone()
boolean
equals(java.lang.Object obj)
Predicate
getOperand()
java.util.List<Predicate>
getOperands()
int
hashCode()
Negation
setOperand(Predicate operand)
-
Methods inherited from class com.yahoo.document.predicate.Predicate
appendQuotedTo, asciiDecode, asciiEncode, fromBinary, fromString, toString
-
-
-
-
Constructor Detail
-
Negation
public Negation(Predicate operand)
-
-
Method Detail
-
getOperand
public Predicate getOperand()
-
getOperands
public java.util.List<Predicate> getOperands()
- Specified by:
getOperands
in classPredicateOperator
-
clone
public Negation clone() throws java.lang.CloneNotSupportedException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-