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