OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * Zipping multiple iterables into one iterable of tuples of values. | 6 * Zipping multiple iterables into one iterable of tuples of values. |
7 */ | 7 */ |
8 library dart.pkg.collection.iterable_zip; | 8 library dart.pkg.collection.iterable_zip; |
9 | 9 |
10 import "dart:collection" show IterableBase; | 10 import "dart:collection" show IterableBase; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 } | 50 } |
51 _current = new List(_iterators.length); | 51 _current = new List(_iterators.length); |
52 for (int i = 0; i < _iterators.length; i++) { | 52 for (int i = 0; i < _iterators.length; i++) { |
53 _current[i] = _iterators[i].current; | 53 _current[i] = _iterators[i].current; |
54 } | 54 } |
55 return true; | 55 return true; |
56 } | 56 } |
57 | 57 |
58 List get current => _current; | 58 List get current => _current; |
59 } | 59 } |
OLD | NEW |