/** * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0. * Use {@link Row#COMPARATOR} instead */ @Deprecated @Override public boolean equals(Object obj) { // TODO: This is wrong. Can't have two the same just because on same row. if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } Row other = (Row) obj; return compareTo(other) == 0; }
/** * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0. * Use {@link Row#COMPARATOR} instead */ @Deprecated @Override public boolean equals(Object obj) { // TODO: This is wrong. Can't have two the same just because on same row. if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } Row other = (Row) obj; return compareTo(other) == 0; }
@Override public boolean equals(Object obj) { // TODO: This is wrong. Can't have two the same just because on same row. if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } Row other = (Row) obj; return compareTo(other) == 0; }
/** * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0. * Use {@link Row#COMPARATOR} instead */ @Deprecated @Override public boolean equals(Object obj) { // TODO: This is wrong. Can't have two the same just because on same row. if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } Row other = (Row) obj; return compareTo(other) == 0; }