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