}
public int compareTo (Object peer_) throws ClassCastException {
if (!(peer_ instanceof StatPersistedV1)) {
throw new ClassCastException("Comparing different types of records.");
}
StatPersistedV1 peer = (StatPersistedV1) peer_;
int ret = 0;
ret = (czxid == peer.czxid)? 0 :((czxid<peer.czxid)?-1:1);
if (ret != 0) return ret;
ret = (mzxid == peer.mzxid)? 0 :((mzxid<peer.mzxid)?-1:1);
if (ret != 0) return ret;