Index: runtime/lib/byte_array.dart |
diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart |
index 724d92f524b0e5f2f9e56d49e40bd17b85acb6fc..f1358ce5f06b5014f9b8345c6fc1ec81ada6245c 100644 |
--- a/runtime/lib/byte_array.dart |
+++ b/runtime/lib/byte_array.dart |
@@ -323,6 +323,10 @@ abstract class _ByteArrayBase { |
throw new StateError("More than one element"); |
} |
+ int min([int compare(int a, int b)]) => Collections.min(this, compare); |
Anders Johnsen
2013/01/02 11:04:05
As far as I remember, Float32List extends this obj
Lasse Reichstein Nielsen
2013/01/02 11:49:33
You are right. The getters above, and several othe
|
+ |
+ int max([int compare(int a, int b)]) => Collections.max(this, compare); |
+ |
void removeRange(int start, int length) { |
throw new UnsupportedError( |
"Cannot remove from a non-extendable array"); |