Index: runtime/lib/byte_array.dart |
diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart |
index dd953f3cc52b5638d34fe4a21e32462487a5d31c..708e291d27f408bf8f0d6907ea0a893422e985db 100644 |
--- a/runtime/lib/byte_array.dart |
+++ b/runtime/lib/byte_array.dart |
@@ -123,6 +123,8 @@ abstract class _ByteArrayBase { |
// Methods implementing the Collection interface. |
+ bool contains(element) => Collections.contains(this, element); |
+ |
void forEach(void f(element)) { |
var len = this.length; |
for (var i = 0; i < len; i++) { |