@Override public boolean equals(Object other) { if (other instanceof Buffer && this != other) { return compareTo(other) == 0; } return (this == other); }
public boolean equals(Object other) { if (other instanceof Buffer && this != other) { return compareTo(other) == 0; } return (this == other); }
@Override public boolean equals(Object other) { if (other instanceof Buffer && this != other) { return compareTo(other) == 0; } return (this == other); }
@Override public boolean equals(Object other) { if (other instanceof Buffer && this != other) { return compareTo(other) == 0; } return (this == other); }
@Override public boolean equals(Object other) { if (other instanceof Buffer && this != other) { return compareTo(other) == 0; } return (this == other); }
public boolean equals(Object other) { if (other instanceof Buffer && this != other) { return compareTo(other) == 0; } return (this == other); }
@Override public boolean equals(Object other) { if (other instanceof Buffer && this != other) { return compareTo(other) == 0; } return (this == other); }
public int compareTo (final Object _rio_peer_) throws ClassCastException { if (!(_rio_peer_ instanceof RecBuffer)) { throw new ClassCastException("Comparing different types of records."); } RecBuffer _rio_peer = (RecBuffer) _rio_peer_; int _rio_ret = 0; _rio_ret = data.compareTo(_rio_peer.data); if (_rio_ret != 0) return _rio_ret; return _rio_ret; } public boolean equals(final Object _rio_peer_) {
_rio_ret = stringVal.compareTo(_rio_peer.stringVal); if (_rio_ret != 0) return _rio_ret; _rio_ret = bufferVal.compareTo(_rio_peer.bufferVal); if (_rio_ret != 0) return _rio_ret;