NotEqualNode.java :  » Testing » PolePosition-0.20 » com » versant » core » jdo » query » Java Open Source

Java Open Source » Testing » PolePosition 0.20 
PolePosition 0.20 » com » versant » core » jdo » query » NotEqualNode.java

/*
 * Copyright (c) 1998 - 2005 Versant Corporation
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Versant Corporation - initial API and implementation
 */
package com.versant.core.jdo.query;

/**
 * A not equal test.
 */
public class NotEqualNode extends EqualNode {

    public NotEqualNode(Node left, Node right) {
        super(left, right);
    }

    public Object accept(NodeVisitor visitor, Object[] results) {
      return visitor.visitNotEqualNode(this, results);
    }

    public Field visit(MemVisitor visitor, Object obj) {
        return visitor.visitNotEqualNode(this, obj);
    }

    public Object arrive(NodeVisitor v, Object msg) {
        return v.arriveNotEqualNode(this, msg);
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.