@Override public boolean equals(Object obj) { if (this == obj) return true; if (!(obj instanceof TiePoint)) return false; final TiePoint that = (TiePoint) obj; if (Utilities.deepEquals(this.values, that.values)) return true; return false; }
public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof PropertyImpl)) { return false; } PropertyImpl other = (PropertyImpl) obj; if (!Utilities.equals(descriptor, other.descriptor)) return false; if (!Utilities.deepEquals(value, other.value)) return false; return true; }
public boolean equals(Object o) { if (!(o instanceof AttributeDescriptorImpl)) return false; AttributeDescriptorImpl d = (AttributeDescriptorImpl) o; return super.equals(o) && Utilities.deepEquals(defaultValue, d.defaultValue); }
@Override public boolean equals(Object obj) { if(this==obj) return true; if(!(obj instanceof TiePoint)) return false; final TiePoint that= (TiePoint) obj; if(Utilities.deepEquals(this.values, that.values)) return true; return false; }
/** * Override of equals. * * @param other the object to be tested for equality. * @return whether other is equal to this attribute Type. */ public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof Attribute)) { return false; } Attribute other = (Attribute) obj; if (!Utilities.equals(getDescriptor(), other.getDescriptor())) { return false; } if (!Utilities.deepEquals(getValue(), other.getValue())) { return false; } return Utilities.equals(getIdentifier(), other.getIdentifier()); }
return Utilities.deepEquals(value, this.value);
public boolean equals(Object o){ if(!(o instanceof AttributeDescriptorImpl)) return false; AttributeDescriptorImpl d = (AttributeDescriptorImpl)o; return super.equals(o) && Utilities.deepEquals( defaultValue, d.defaultValue ); }
public boolean equals(Object obj) { if ( this == obj ) { return true; } if (!(obj instanceof PropertyImpl)) { return false; } PropertyImpl other = (PropertyImpl) obj; if (!Utilities.equals(descriptor, other.descriptor)) return false; if (!Utilities.deepEquals(value, other.value)) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!(obj instanceof CatalogBuilderConfiguration)) return false; final CatalogBuilderConfiguration that = (CatalogBuilderConfiguration) obj; if (this.absolute != that.absolute) return false; if (this.caching != that.caching) return false; if (this.recursive != that.recursive) return false; if (this.footprintManagement != that.footprintManagement) return false; if (!(this.indexName == null && that.indexName == null) && !this.indexName.equals(that.indexName)) return false; if (!(this.locationAttribute == null && that.locationAttribute == null) && !this.locationAttribute.equals(that.locationAttribute)) return false; if (!(this.rootMosaicDirectory == null && that.rootMosaicDirectory == null) && !this.rootMosaicDirectory.equals(that.rootMosaicDirectory)) return false; if (!Utilities.deepEquals(this.indexingDirectories, that.indexingDirectories)) return false; return true; }
@Override public void write() throws IOException { if (live == null) { LOGGER.error("Unable to process transaction " + transaction.toString()); throw new IOException("No current feature to write"); } if (original == null) { transaction.add(live.getID(), live); } else if (!Utilities.deepEquals(live, original)) { transaction.modify(live.getID(), original, live); } original = null; live = null; } }
/** * Override of equals. * * @param other * the object to be tested for equality. * * @return whether other is equal to this attribute Type. */ public boolean equals(Object obj) { if ( this == obj ) { return true; } if (!(obj instanceof Attribute)) { return false; } Attribute other = (Attribute) obj; if (!Utilities.equals(getDescriptor(), other.getDescriptor())){ return false; } if (!Utilities.deepEquals(getValue(), other.getValue())){ return false; } return Utilities.equals( getIdentifier(), other.getIdentifier()); }
/** * Override of equals. * * @param other the object to be tested for equality. * * @return whether other is equal to this attribute Type. */ @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof Attribute)) { return false; } Attribute other = (Attribute) obj; if (!Utilities.equals(getDescriptor(), other.getDescriptor())) { return false; } if (!Utilities.deepEquals(getValue(), other.getValue())) { return false; } return Utilities.equals(getIdentifier(), other.getIdentifier()); }
/** * Override of equals. * * @param other the object to be tested for equality. * * @return whether other is equal to this attribute Type. */ @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof Attribute)) { return false; } Attribute other = (Attribute) obj; if (!Utilities.equals(getDescriptor(), other.getDescriptor())) { return false; } if (!Utilities.deepEquals(getValue(), other.getValue())) { return false; } return Utilities.equals(getIdentifier(), other.getIdentifier()); }
/** * Override of equals. * * @param other the object to be tested for equality. * * @return whether other is equal to this attribute Type. */ @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof Attribute)) { return false; } Attribute other = (Attribute) obj; if (!Utilities.equals(getDescriptor(), other.getDescriptor())) { return false; } if (!Utilities.deepEquals(getValue(), other.getValue())) { return false; } return Utilities.equals(getIdentifier(), other.getIdentifier()); }
return Utilities.deepEquals(value, this.value);