@Override public boolean equals(Object obj) { if (obj instanceof Pair) { Pair other = (Pair)obj; return ObjectUtils.safeEquals(v1, other.v1) && ObjectUtils.safeEquals(v2, other.v2); } return false; } }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } RecordTypeRef other = (RecordTypeRef) obj; return ObjectUtils.safeEquals(name, other.name) && ObjectUtils.safeEquals(version, other.version); } }
@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final PropertyValue that = (PropertyValue) o; if (mode != that.mode) { return false; } if (!ObjectUtils.safeEquals(value, that.value)) { return false; } return true; }
if (!ObjectUtils.safeEquals(other.updatedFields, this.updatedFields)) { return false; if (!ObjectUtils.safeEquals(other.vtagsToIndex, this.vtagsToIndex)) { return false; if(!ObjectUtils.safeEquals(other.attributes, this.attributes)) { return false; if (!ObjectUtils.safeEquals(other.tableName, tableName)) { return false;
if (!ObjectUtils.safeEquals(masterRecordId, other.masterRecordId)) { return false; return false; if (!ObjectUtils.safeEquals(val.value, otherVal.value)) { return false;
public boolean equals(Object obj) { if (obj == this) { return true; } if (obj instanceof Location) { Location other = (Location) obj; return this.line == other.getLineNumber() && this.column == other.getColumnNumber() && ObjectUtils.safeEquals(this.uri, other.getURI()) && ObjectUtils.safeEquals(this.description, other.getDescription()); } return false; }
if (!ObjectUtils.safeEquals(oldValue, entry.getValue())) { return true;
if (!ObjectUtils.safeEquals(jsonData, actualMeta)) { throw new RuntimeException("Index " + indexDef.getName() + " exists but its definition does not match the supplied definition.");