public override int GetHashCode() { HashCodeComputer hash = new HashCodeComputer(); VisitKeys(hash); return(hash.GetHashCode()); }
public override int GetHashCode() { HashCodeComputer <VALUE> hash = new HashCodeComputer <VALUE>(); VisitEntries(hash); return(hash.GetHashCode()); }
public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || this.GetType() != o.GetType()) { return(false); } HashCodeComputer that = ( HashCodeComputer )o; return(Hash == that.Hash); }
public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || this.GetType() != o.GetType()) { return(false); } //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: HashCodeComputer<?> that = (HashCodeComputer<?>) o; HashCodeComputer <object> that = (HashCodeComputer <object>)o; return(Hash == that.Hash); }