Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: lib/core/num.dart

Issue 10993059: Stop using the Hashable interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Dart core library. 5 // Dart core library.
6 6
7 /** 7 /**
8 * All numbers in dart are instances of [num]. 8 * All numbers in dart are instances of [num].
9 */ 9 */
10 abstract class num implements Comparable, Hashable { 10 abstract class num implements Comparable {
11 /** Addition operator. */ 11 /** Addition operator. */
12 num operator +(num other); 12 num operator +(num other);
13 13
14 /** Subtraction operator. */ 14 /** Subtraction operator. */
15 num operator -(num other); 15 num operator -(num other);
16 16
17 /** Multiplication operator. */ 17 /** Multiplication operator. */
18 num operator *(num other); 18 num operator *(num other);
19 19
20 /** Euclidean modulo operator. */ 20 /** Euclidean modulo operator. */
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 * 113 *
114 * The [num] in converted to an [int] using [toInt]. That [int] is 114 * The [num] in converted to an [int] using [toInt]. That [int] is
115 * then converted to a string representation with the given 115 * then converted to a string representation with the given
116 * [radix]. In the string representation, lower-case letters are 116 * [radix]. In the string representation, lower-case letters are
117 * used for digits above '9'. 117 * used for digits above '9'.
118 * 118 *
119 * The [radix] argument must be an integer between 2 and 36. 119 * The [radix] argument must be an integer between 2 and 36.
120 */ 120 */
121 String toRadixString(int radix); 121 String toRadixString(int radix);
122 } 122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698