01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query.algebra;
07:
08: /**
09: * A boolean AND operator operating on two boolean expressions.
10: */
11: public class And extends BinaryValueOperator {
12:
13: /*--------------*
14: * Constructors *
15: *--------------*/
16:
17: public And() {
18: }
19:
20: public And(ValueExpr leftArg, ValueExpr rightArg) {
21: super (leftArg, rightArg);
22: }
23:
24: /*---------*
25: * Methods *
26: *---------*/
27:
28: public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
29: throws X {
30: visitor.meet(this );
31: }
32:
33: @Override
34: public And clone() {
35: return (And) super.clone();
36: }
37: }
|