Chromium Code Reviews| Index: sdk/lib/core/object.dart |
| diff --git a/sdk/lib/core/object.dart b/sdk/lib/core/object.dart |
| index 975a8a79b4bfd34c770f99c633d6ccb75e4fb1a0..c4c2ffb458343a66420f1f7b17154d4c8a3891cd 100644 |
| --- a/sdk/lib/core/object.dart |
| +++ b/sdk/lib/core/object.dart |
| @@ -93,5 +93,14 @@ class Object { |
| * A representation of the runtime type of the object. |
| */ |
| external Type get runtimeType; |
| + |
| + /** |
| + * Returns the same value as [hashCode] on [object] would. |
|
Ivan Posva
2013/09/24 06:22:11
This is not true, as is stated right on the next l
|
| + * |
| + * If [object] hasn't overridden [hashCode] from [Object], this is the |
| + * same as `object.hashCode`. This method can be used to get the object's |
| + * hashCode event if `hashCode` has been overridden. |
|
Ivan Posva
2013/09/24 06:22:11
What this should state is that this returns the ha
|
| + */ |
| + external static int hashCodeOf(Object object); |
| } |