示例#1
0
 public override int GetHashCode() =>
 hashCode == 0
         ? hashCode = FNV32.Hash <OrdA, A>(this.AsEnumerable())
         : hashCode;
示例#2
0
 public override int GetHashCode() =>
 hashCode == 0
         ? hashCode = FNV32.Hash <HashableDefault <A>, A>(this)
         : hashCode;
示例#3
0
 public static int hash <HashA, A>(IEnumerable <A> xs) where HashA : struct, Hashable <A> =>
 FNV32.Hash <HashA, A>(xs);
示例#4
0
 public override int GetHashCode() =>
 FNV32.Next(
     From?.GetHashCode() ?? FNV32.OffsetBasis,
     To?.GetHashCode() ?? FNV32.OffsetBasis);
示例#5
0
 public static int hash <A>(IEnumerable <A> xs) =>
 FNV32.Hash <HashableDefault <A>, A>(xs);