| Index: packages/quiver/lib/src/core/hash.dart
|
| diff --git a/packages/quiver/lib/src/core/hash.dart b/packages/quiver/lib/src/core/hash.dart
|
| index de5317cc1152e07deb3cddbc79ada4f440c41bd9..1c0ce80dab4962994b4ab87a60b64486e78842db 100644
|
| --- a/packages/quiver/lib/src/core/hash.dart
|
| +++ b/packages/quiver/lib/src/core/hash.dart
|
| @@ -14,26 +14,18 @@
|
|
|
| part of quiver.core;
|
|
|
| -/**
|
| - * Generates a hash code for multiple [objects].
|
| - */
|
| +/// Generates a hash code for multiple [objects].
|
| int hashObjects(Iterable objects) =>
|
| _finish(objects.fold(0, (h, i) => _combine(h, i.hashCode)));
|
|
|
| -/**
|
| - * Generates a hash code for two objects.
|
| - */
|
| +/// Generates a hash code for two objects.
|
| int hash2(a, b) => _finish(_combine(_combine(0, a.hashCode), b.hashCode));
|
|
|
| -/**
|
| - * Generates a hash code for three objects.
|
| - */
|
| +/// Generates a hash code for three objects.
|
| int hash3(a, b, c) => _finish(
|
| _combine(_combine(_combine(0, a.hashCode), b.hashCode), c.hashCode));
|
|
|
| -/**
|
| - * Generates a hash code for four objects.
|
| - */
|
| +/// Generates a hash code for four objects.
|
| int hash4(a, b, c, d) => _finish(_combine(
|
| _combine(_combine(_combine(0, a.hashCode), b.hashCode), c.hashCode),
|
| d.hashCode));
|
|
|