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

Unified Diff: lib/core/int.dart

Issue 11227042: isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. 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 side-by-side diff with in-line comments
Download patch
Index: lib/core/int.dart
diff --git a/lib/core/int.dart b/lib/core/int.dart
index 2bc75be83d2739700b795860e3c3395015430f7a..9e3d5ec440f3816b7e01e7bafe9e24e1b3ef8208 100644
--- a/lib/core/int.dart
+++ b/lib/core/int.dart
@@ -36,10 +36,10 @@ abstract class int extends num {
int operator >>(int shiftAmount);
/** Returns true if and only if this integer is even. */
- bool isEven();
+ bool get isEven;
/** Returns true if and only if this integer is odd. */
- bool isOdd();
+ bool get isOdd;
/** Negate operator. Negating an integer produces an integer. */
int operator -();

Powered by Google App Engine
This is Rietveld 408576698