in nouveau/src/main/java/org/apache/couchdb/nouveau/api/Range.java [106:123]
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null) return false;
if (getClass() != obj.getClass()) return false;
Range<?> other = (Range<?>) obj;
if (label == null) {
if (other.label != null) return false;
} else if (!label.equals(other.label)) return false;
if (min == null) {
if (other.min != null) return false;
} else if (!min.equals(other.min)) return false;
if (minInclusive != other.minInclusive) return false;
if (max == null) {
if (other.max != null) return false;
} else if (!max.equals(other.max)) return false;
if (maxInclusive != other.maxInclusive) return false;
return true;
}