|
Add methods to Collection.
Methods are:
- void add(E)
- void addAll(Iterable<E>)
- void remove(Object)
- void removeAll(Iterable)
- void retainAll(Iterable)
- void removeMatching(bool test(E))
- void retainMatching(bool test(E))
They have been implemented for List and Set only.
Default implementations of removeX methods in Collections assume an efficient
remove method, which Lists won't have.
Committed: https://code.google.com/p/dart/source/detail?r=17257
Total comments: 35
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2438 lines, -262 lines) |
Patch |
|
M |
editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/logical/MapStructureType.java
|
View
|
1
2
3
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
editor/util/debuggertest/pets.dart
|
View
|
1
2
3
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
pkg/serialization/lib/src/serialization_rule.dart
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/lib/array.dart
|
View
|
1
2
|
2 chunks |
+50 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/lib/byte_array.dart
|
View
|
1
2
|
2 chunks |
+55 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/lib/growable_array.dart
|
View
|
1
2
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/lib/js_array.dart
|
View
|
1
2
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/collection/collections.dart
|
View
|
1
2
3
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/core/collection.dart
|
View
|
1
2
3
|
1 chunk |
+75 lines, -3 lines |
0 comments
|
Download
|
|
M |
sdk/lib/core/list.dart
|
View
|
1
2
3
|
3 chunks |
+23 lines, -3 lines |
0 comments
|
Download
|
|
M |
sdk/lib/core/queue.dart
|
View
|
1
2
3
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/core/set.dart
|
View
|
1
2
3
|
6 chunks |
+17 lines, -49 lines |
0 comments
|
Download
|
|
M |
sdk/lib/html/dart2js/html_dart2js.dart
|
View
|
1
2
3
|
40 chunks |
+814 lines, -73 lines |
0 comments
|
Download
|
|
M |
sdk/lib/html/dartium/html_dartium.dart
|
View
|
|
40 chunks |
+814 lines, -73 lines |
0 comments
|
Download
|
|
M |
sdk/lib/html/html_common/filtered_element_list.dart
|
View
|
1
2
|
2 chunks |
+30 lines, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/svg/dart2js/svg_dart2js.dart
|
View
|
1
2
3
|
11 chunks |
+137 lines, -17 lines |
0 comments
|
Download
|
|
M |
sdk/lib/svg/dartium/svg_dartium.dart
|
View
|
1
2
3
|
11 chunks |
+137 lines, -17 lines |
0 comments
|
Download
|
|
M |
tools/dom/src/CssClassSet.dart
|
View
|
|
3 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/impl/impl_Element.darttemplate
|
View
|
1
2
|
3 chunks |
+49 lines, -4 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/impl/impl_Node.darttemplate
|
View
|
1
2
3
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/immutable_list_mixin.darttemplate
|
View
|
1
2
|
2 chunks |
+23 lines, -3 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|