public override bool Equals(object obj) { if (this == obj) { return(true); } GF2Polynomial gF2Polynomial = obj as GF2Polynomial; return(gF2Polynomial != null && Arrays.AreEqual(this.exponents, gF2Polynomial.exponents)); }
public override bool Equals(object obj) { if (this == obj) { return(true); } GF2Polynomial other = obj as GF2Polynomial; if (null == other) { return(false); } return(Arrays.AreEqual(exponents, other.exponents)); }
public override bool Equals(object obj) { if (this == obj) { return(true); } GF2Polynomial polynomial = obj as GF2Polynomial; if (polynomial == null) { return(false); } return(Arrays.AreEqual(this.exponents, polynomial.exponents)); }