public boolean equals(Object obj) {if (!(obj instanceof PrecedencePredicate)) {return false;}if (this == obj) {return true;}PrecedencePredicate other = (PrecedencePredicate)obj;return this.precedence == other.precedence;}

public boolean equals ( Object obj ) { if ( ! ( obj instanceof PrecedencePredicate ) ) { return false ; } if ( this == obj ) { return true ; } PrecedencePredicate other = ( PrecedencePredicate ) obj ; return this . precedence == other . precedence ; }
public override bool Equals(object obj){if (!(obj is SemanticContext.PrecedencePredicate)){return false;}if (this == obj){return true;}SemanticContext.PrecedencePredicate other = (SemanticContext.PrecedencePredicate)obj;return this.precedence == other.precedence;}
