@Override public boolean equals(Object obj) { if (obj instanceof StorageKey) { return Objects.equal(values, ((StorageKey) obj).values); } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof Key) { return Objects.equal(values, ((Key) obj).values); } else { return false; } }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Boundary)) { return false; } Boundary that = (Boundary) o; return (Objects.equal(this.isInclusive, that.isInclusive) && Objects.equal(this.bound, that.bound) && Objects.equal(this.comparator, that.comparator)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if ((o == null) || !Objects.equal(this.getClass(), o.getClass())) { return false; } AbstractRefinableView that = (AbstractRefinableView) o; return (Objects.equal(this.dataset, that.dataset) && Objects.equal(this.constraints, that.constraints)); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; URIPattern that = (URIPattern) o; return Objects.equal(this.pattern, that.pattern); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } EntityPredicate other = (EntityPredicate) obj; return Objects.equal(predicatesByField, other.predicatesByField); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } return Objects.equal(set, ((In) o).set); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !getClass().equals(obj.getClass())) { return false; } return Objects.equal(this.values, ((ImmutableMarker) obj).values); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || !getClass().equals(o.getClass())) { return false; } Format that = (Format) o; return Objects.equal(this.name, that.name); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || !getClass().equals(o.getClass())) { return false; } PartitionStrategy that = (PartitionStrategy) o; return Objects.equal(this.fieldPartitioners, that.fieldPartitioners); }
@Override @edu.umd.cs.findbugs.annotations.SuppressWarnings( value="NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION", justification="Default annotation is not correct for equals") public boolean equals(@Nullable Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ColumnMapping that = (ColumnMapping) o; return Objects.equal(fieldMappings, that.fieldMappings); }
private static boolean pathsEquivalent(URI left, @Nullable URI right) { if (right == null) { return false; } String leftAuth = left.getAuthority(); String rightAuth = right.getAuthority(); if (leftAuth != null && rightAuth != null && !leftAuth.equals(rightAuth)) { // but authority sections are set, but do not match return false; } return (Objects.equal(left.getScheme(), right.getScheme()) && Objects.equal(left.getPath(), right.getPath())); }
private static boolean pathsEquivalent(URI left, @Nullable URI right) { if (right == null) { return false; } String leftAuth = left.getAuthority(); String rightAuth = right.getAuthority(); if (leftAuth != null && rightAuth != null && !leftAuth.equals(rightAuth)) { // but authority sections are set, but do not match return false; } return (Objects.equal(left.getScheme(), right.getScheme()) && Objects.equal(left.getPath(), right.getPath())); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (!super.equals(other)) { return false; } if (other == null || getClass() != other.getClass()) { return false; } FileSystemPartitionView that = (FileSystemPartitionView) other; return Objects.equal(this.location, that.location); }
@Override @edu.umd.cs.findbugs.annotations.SuppressWarnings( value="NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION", justification="Default annotation is not correct for equals") public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (o == null || !getClass().equals(o.getClass())) { return false; } RangeFieldPartitioner that = (RangeFieldPartitioner) o; return Objects.equal(this.getName(), that.getName()) && Objects.equal(this.upperBounds, that.upperBounds); }
@Override @edu.umd.cs.findbugs.annotations.SuppressWarnings( value="NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION", justification="Default annotation is not correct for equals") public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (o == null || !getClass().equals(o.getClass())) { return false; } ListFieldPartitioner that = (ListFieldPartitioner) o; return Objects.equal(this.getName(), that.getName()) && Objects.equal(this.values, that.values); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !Objects.equal(getClass(), obj.getClass())) { return false; } AbstractDataset other = (AbstractDataset) obj; return Objects.equal(getName(), other.getName()) && Objects.equal(getDescriptor(), other.getDescriptor()) && Objects.equal(getType(), other.getType()); }