Package org.apache.zookeeper_voltpatches.proto

Examples of org.apache.zookeeper_voltpatches.proto.op_result_t


  }
  public int compareTo (Object peer_) throws ClassCastException {
    if (!(peer_ instanceof op_result_t)) {
      throw new ClassCastException("Comparing different types of records.");
    }
    op_result_t peer = (op_result_t) peer_;
    int ret = 0;
    ret = (rc == peer.rc)? 0 :((rc<peer.rc)?-1:1);
    if (ret != 0) return ret;
    ret = (op == peer.op)? 0 :((op<peer.op)?-1:1);
    if (ret != 0) return ret;
View Full Code Here


      return false;
    }
    if (peer_ == this) {
      return true;
    }
    op_result_t peer = (op_result_t) peer_;
    boolean ret = false;
    ret = (rc==peer.rc);
    if (!ret) return ret;
    ret = (op==peer.op);
    if (!ret) return ret;
View Full Code Here

TOP

Related Classes of org.apache.zookeeper_voltpatches.proto.op_result_t

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.