public boolean equals()

in src/main/java/com/epam/eco/commons/kafka/helpers/PartitionRecordFetchResult.java [115:124]


    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (obj == null || getClass() != obj.getClass()) return false;
        PartitionRecordFetchResult<?, ?> that = (PartitionRecordFetchResult<?, ?>) obj;
        return
                Objects.equals(partition, that.partition) &&
                Objects.equals(records, that.records) &&
                Objects.equals(partitionOffsets, that.partitionOffsets) &&
                Objects.equals(scannedOffsets, that.scannedOffsets);
    }