boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final StorageRecord record = (StorageRecord)o; if (recordId != record.recordId) return false; if (!Objects.equals(payload, record.payload)) return false; return true; }