public static int hasheq(object o) { if (o == null) { return(0); } IHashEq ihe = o as IHashEq; if (ihe != null) { return(dohasheq(ihe)); } if (Util.IsNumeric(o)) { return(Numbers.hasheq(o)); } String s = o as string; if (s != null) { return(Murmur3.HashInt(s.GetHashCode())); } return(o.GetHashCode()); }
public static int hasheq(object o) { if (o == null) { return(0); } IHashEq ihe = o as IHashEq; if (ihe != null) { return(dohasheq(ihe)); } if (Util.IsNumeric(o)) { return(Numbers.hasheq(o)); } return(o.GetHashCode()); }
private static int dohasheq(IHashEq ihe) { return ihe.hasheq(); }
private static int dohasheq(IHashEq ihe) { return(ihe.hasheq()); }