Index: sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
diff --git a/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart b/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
index d6e5f43cc12c11211c7ede686db1cf1f53cf430d..d7afeeddc55fed8fb5bad560b5051ce14afc4731 100644 |
--- a/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
+++ b/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
@@ -314,6 +314,8 @@ class Float32List extends TypedData implements JavaScriptIndexingBehavior, List< |
bool get isEmpty => this.length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
Iterable<num> take(int n) => IterableMixinWorkaround.takeList(this, n); |
Iterable<num> takeWhile(bool test(num value)) { |
@@ -534,6 +536,8 @@ class Float64List extends TypedData implements JavaScriptIndexingBehavior, List< |
bool get isEmpty => this.length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
Iterable<num> take(int n) => IterableMixinWorkaround.takeList(this, n); |
Iterable<num> takeWhile(bool test(num value)) { |
@@ -754,6 +758,8 @@ class Int16List extends TypedData implements JavaScriptIndexingBehavior, List<in |
bool get isEmpty => this.length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n); |
Iterable<int> takeWhile(bool test(int value)) { |
@@ -974,6 +980,8 @@ class Int32List extends TypedData implements JavaScriptIndexingBehavior, List<in |
bool get isEmpty => this.length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n); |
Iterable<int> takeWhile(bool test(int value)) { |
@@ -1194,6 +1202,8 @@ class Int8List extends TypedData implements JavaScriptIndexingBehavior, List<int |
bool get isEmpty => this.length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n); |
Iterable<int> takeWhile(bool test(int value)) { |
@@ -1414,6 +1424,8 @@ class Uint16List extends TypedData implements JavaScriptIndexingBehavior, List<i |
bool get isEmpty => this.length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n); |
Iterable<int> takeWhile(bool test(int value)) { |
@@ -1634,6 +1646,8 @@ class Uint32List extends TypedData implements JavaScriptIndexingBehavior, List<i |
bool get isEmpty => this.length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n); |
Iterable<int> takeWhile(bool test(int value)) { |
@@ -1853,6 +1867,8 @@ class Uint8ClampedList extends Uint8List implements JavaScriptIndexingBehavior, |
bool get isEmpty => this.length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n); |
Iterable<int> takeWhile(bool test(int value)) { |
@@ -2073,6 +2089,8 @@ class Uint8List extends TypedData implements JavaScriptIndexingBehavior, List<in |
bool get isEmpty => this.length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
Iterable<int> take(int n) => IterableMixinWorkaround.takeList(this, n); |
Iterable<int> takeWhile(bool test(int value)) { |