@Override public boolean equals(Object other) { if ( this == other ) return true; if ( ! ( other instanceof Block ) ) return false; final Block that = (Block) other; return this.binding.equals(that.binding) && this.body == that.body; }
@Override public boolean equals(Object other) { if ( this == other ) return true; if ( ! ( other instanceof Block ) ) return false; final Block that = (Block) other; return this.binding.equals(that.binding) && this.body == that.body; }
@Override public boolean equals(Object other) { if(this == other) { return true; } if(!(other instanceof Block)) { return false; } Block bOther = (Block)other; return this.binding.equals(bOther.binding) && this.body == bOther.body; } }
@Override public boolean equals(Object other) { if(this == other) { return true; } if(!(other instanceof Block)) { return false; } Block bOther = (Block)other; return this.binding.equals(bOther.binding) && this.body == bOther.body; } }