Chromium Code Reviews| Index: sdk/lib/collection/queue.dart |
| diff --git a/sdk/lib/collection/queue.dart b/sdk/lib/collection/queue.dart |
| index 1cacd18c18fc158784ff2fd0692a4b06e3e8a80d..91410ba0f87bc095e87046d5493b6780a8ae4f62 100644 |
| --- a/sdk/lib/collection/queue.dart |
| +++ b/sdk/lib/collection/queue.dart |
| @@ -9,7 +9,7 @@ part of dart.collection; |
| * can iterate over the elements of a queue through [forEach] or with |
| * an [Iterator]. |
| */ |
| -abstract class Queue<E> implements Iterable<E> { |
| +abstract class Queue<E> implements Iterable<E>, EfficientLength { |
|
sra1
2013/10/09 21:16:53
This is what is scary about tag interfaces.
They a
floitsch
2013/10/10 13:04:53
I partially agree. However we already did "is Queu
sra1
2013/10/10 17:02:41
There are many interesting queue algorithms that d
floitsch
2013/10/10 17:12:05
The List interface specifies that its length must
|
| /** |
| * Creates a queue. |