public boolean equals()

in src/main/java/com/epam/eco/commons/kafka/OffsetRange.java [91:104]


    public boolean equals(Object obj) {
        if (obj == null || obj.getClass() != getClass()) {
            return false;
        }
        if (this == obj) {
            return true;
        }
        OffsetRange that = (OffsetRange)obj;
        return
                Objects.equals(this.smallest, that.smallest) &&
                Objects.equals(this.largest, that.largest) &&
                Objects.equals(this.smallestInclusive, that.smallestInclusive) &&
                Objects.equals(this.largestInclusive, that.largestInclusive);
    }