| Index: runtime/lib/typeddata.dart
|
| diff --git a/runtime/lib/typeddata.dart b/runtime/lib/typeddata.dart
|
| index fe504fa7d22597e26910abcbffbd5b135e690184..430939441c026cb5e0a9e438778cc7e83f9f6ac7 100644
|
| --- a/runtime/lib/typeddata.dart
|
| +++ b/runtime/lib/typeddata.dart
|
| @@ -305,16 +305,16 @@ abstract class _TypedListBase {
|
| return IterableMixinWorkaround.any(this, f);
|
| }
|
|
|
| - int firstMatching(bool test(int value), {int orElse()}) {
|
| - return IterableMixinWorkaround.firstMatching(this, test, orElse);
|
| + int firstWhere(bool test(int value), {int orElse()}) {
|
| + return IterableMixinWorkaround.firstWhere(this, test, orElse);
|
| }
|
|
|
| - int lastMatching(bool test(int value), {int orElse()}) {
|
| - return IterableMixinWorkaround.lastMatchingInList(this, test, orElse);
|
| + int lastWhere(bool test(int value), {int orElse()}) {
|
| + return IterableMixinWorkaround.lastWhereList(this, test, orElse);
|
| }
|
|
|
| - int singleMatching(bool test(int value)) {
|
| - return IterableMixinWorkaround.singleMatching(this, test);
|
| + int singleWhere(bool test(int value)) {
|
| + return IterableMixinWorkaround.singleWhere(this, test);
|
| }
|
|
|
| int elementAt(int index) {
|
| @@ -384,12 +384,12 @@ abstract class _TypedListBase {
|
| "Cannot remove from a non-extendable array");
|
| }
|
|
|
| - void removeMatching(bool test(int element)) {
|
| + void removeWhere(bool test(int element)) {
|
| throw new UnsupportedError(
|
| "Cannot remove from a non-extendable array");
|
| }
|
|
|
| - void retainMatching(bool test(int element)) {
|
| + void retainWhere(bool test(int element)) {
|
| throw new UnsupportedError(
|
| "Cannot remove from a non-extendable array");
|
| }
|
|
|