01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query.algebra;
07:
08: /**
09: * Checks RDF term equality.
10: */
11: public class SameTerm extends BinaryValueOperator {
12:
13: /*--------------*
14: * Constructors *
15: *--------------*/
16:
17: public SameTerm() {
18: }
19:
20: public SameTerm(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 SameTerm clone() {
35: return (SameTerm) super.clone();
36: }
37: }
|