OLD | NEW |
1 Helper libraries for working with collections. | 1 #Helper libraries for working with collections. |
2 | 2 |
3 The `collection` package contains a number of separate libraries | 3 The `collection` package contains a number of separate libraries |
4 with utility functions and classes that makes working with collections easier. | 4 with utility functions and classes that makes working with collections easier. |
5 | 5 |
6 ## Using | 6 ## Using |
7 | 7 |
8 The `collection` package can be imported as separate libraries, or | 8 The `collection` package can be imported as separate libraries, or |
9 in totality: | 9 in totality: |
10 | 10 |
11 import 'package:collection/algorithms.dart'; | 11 import 'package:collection/algorithms.dart'; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 ## Wrappers | 60 ## Wrappers |
61 | 61 |
62 The wrappers library contains classes that "wrap" a collection. | 62 The wrappers library contains classes that "wrap" a collection. |
63 | 63 |
64 A wrapper class contains an object of the same type, and it forwards all | 64 A wrapper class contains an object of the same type, and it forwards all |
65 methods to the wrapped object. | 65 methods to the wrapped object. |
66 | 66 |
67 Wrapper classes can be used in various ways, for example to restrict the type | 67 Wrapper classes can be used in various ways, for example to restrict the type |
68 of an object to that of a supertype, or to change the behavior of selected | 68 of an object to that of a supertype, or to change the behavior of selected |
69 functions on an existing object. | 69 functions on an existing object. |
| 70 |
| 71 ## Features and bugs |
| 72 |
| 73 Please file feature requests and bugs at the [issue tracker][tracker]. |
| 74 |
| 75 [tracker]: https://github.com/dart-lang/collection/issues |
OLD | NEW |