/// <summary> /// WARNING this is used for searching in a Vector. /// Because Vector.indexOf doesn't take a comparator, /// this method is ill-defined and ignores strength. /// </summary> public override bool Equals(Object obj) { if (obj == null) { return(false); } PatternEntry other = (PatternEntry)obj; bool result = Chars_Renamed.Equals(other.Chars_Renamed); return(result); }
public override int HashCode() { return(Chars_Renamed.HashCode()); }