@Override public boolean equals(Object o) { if (o == this) { return true; } if (!(o instanceof PartitionedMutations)) { return false; } PartitionedMutations other = (PartitionedMutations) o; return partitions.equals(other.partitions); } }
/** * Checks if this property set equals another. * <p> * The comparison checks the content. * * @param obj the other section, null returns false * @return true if equal */ @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (obj instanceof PropertySet) { return keyValueMap.equals(((PropertySet) obj).keyValueMap); } return false; }
@Override public boolean equals(Object obj) { if (obj instanceof Link) { Link other = (Link) obj; return uriReference.equals(other.uriReference) && linkParams.equals(other.linkParams); } else { return false; } }
@Override public boolean equals(Object other) { if (other == this) { return true; } if (!(other instanceof Args)) { return false; } Args args = (Args) other; return args._options.equals(_options) && args._arguments.equals(_arguments) && args._oneChar.equals(_oneChar); }
@Override public boolean equals( final Object o ) { if ( this == o ) { return true; } if ( o == null || getClass() != o.getClass() ) { return false; } final Macro that = (Macro) o; return Objects.equals( this.name, that.name ) && Objects.equals( this.body, that.body ) && this.params.equals( that.params ); }
@Override public boolean equals(Object obj) { if (obj instanceof ContentType) { ContentType other = (ContentType) obj; return is(other.type, other.subtype) && parameters.equals(other.parameters); } else { return false; } }
if (other.annotations != null) return false; } else if (!annotations.equals(other.annotations)) return false; if (chrom == null) {
@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof MsgNode.RepresentativeNodes) { MsgNode.RepresentativeNodes that = (MsgNode.RepresentativeNodes) o; return (this.baseNameToRepNodesMap.equals(that.baseNameToRepNodesMap())) && (this.nonRepNodeToRepNodeMap.equals(that.nonRepNodeToRepNodeMap())) && (this.repNodeToPhExample.equals(that.repNodeToPhExample())); } return false; }