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