public boolean equals(Object o) {if (this == o) {return true;}else if ( !(o instanceof SingletonPredictionContext) ) {return false;}if ( this.hashCode() != o.hashCode() ) {return false; }SingletonPredictionContext s = (SingletonPredictionContext)o;return returnState == s.returnState &&(parent!=null && parent.equals(s.parent));}

public boolean equals ( Object o ) { if ( this == o ) { return true ; } else if ( ! ( o instanceof SingletonPredictionContext ) ) { return false ; } if ( this . hashCode ( ) != o . hashCode ( ) ) { return false ; } SingletonPredictionContext s = ( SingletonPredictionContext ) o ; return returnState == s . returnState && ( parent != null && parent . equals ( s . parent ) ) ; }
public override bool Equals(object o){if (o == this){return true;}else{if (!(o is Antlr4.Runtime.Atn.SingletonPredictionContext)){return false;}}if (this.GetHashCode() != o.GetHashCode()){return false;}Antlr4.Runtime.Atn.SingletonPredictionContext other = (Antlr4.Runtime.Atn.SingletonPredictionContext)o;return returnState == other.returnState && parent.Equals(other.parent);}
