| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 * A [List] is an indexable collection with a length. It can be of | 6 * A [List] is an indexable collection with a length. It can be of |
| 7 * fixed size or extendable. | 7 * fixed size or extendable. |
| 8 */ | 8 */ |
| 9 class ListImplementation<E> { | 9 class ListImplementation<E> { |
| 10 /** | 10 /** |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 */ | 22 */ |
| 23 factory List.from(Iterable<E> other) { | 23 factory List.from(Iterable<E> other) { |
| 24 // TODO(ajohnsen): Make external once the vm can handle it, so we don't | 24 // TODO(ajohnsen): Make external once the vm can handle it, so we don't |
| 25 // lose generic type information. | 25 // lose generic type information. |
| 26 // Issue: #4727 | 26 // Issue: #4727 |
| 27 return _from(other); | 27 return _from(other); |
| 28 } | 28 } |
| 29 | 29 |
| 30 external static _from(Iterable<E> other); | 30 external static _from(Iterable<E> other); |
| 31 } | 31 } |
| OLD | NEW |