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

Unified Diff: pkg/fixnum/lib/src/intx.dart

Issue 875323002: Cleanup IntX to implement Comparable<FixNum> which is more descriptive than Comparable as it would … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/fixnum/lib/src/int64.dart ('k') | pkg/fixnum/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fixnum/lib/src/intx.dart
diff --git a/pkg/fixnum/lib/src/intx.dart b/pkg/fixnum/lib/src/intx.dart
index 859cb957b60510576ec649087f675796a739cfee..7adbf0c10b3edf3afebd2d0eedf98c3d7b7767ba 100644
--- a/pkg/fixnum/lib/src/intx.dart
+++ b/pkg/fixnum/lib/src/intx.dart
@@ -7,7 +7,7 @@ part of fixnum;
/**
* A fixed-precision integer.
*/
-abstract class IntX implements Comparable {
+abstract class IntX implements Comparable<IntX> {
/** Addition operator. */
IntX operator +(other);
@@ -80,8 +80,6 @@ abstract class IntX implements Comparable {
*/
IntX shiftRightUnsigned(int shiftAmount);
- int compareTo(Comparable other);
-
/**
* Returns `true` if and only if [other] is an int or IntX equal in
* value to this integer.
« no previous file with comments | « pkg/fixnum/lib/src/int64.dart ('k') | pkg/fixnum/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698