| Index: lib/core/queue.dart
|
| diff --git a/lib/core/queue.dart b/lib/core/queue.dart
|
| index 5cdb5ee0ded97563bf21ce8b4208e273a47a5866..beff3d7b9942e9e632d43bd9cc999fc8c1fd488c 100644
|
| --- a/lib/core/queue.dart
|
| +++ b/lib/core/queue.dart
|
| @@ -7,18 +7,18 @@
|
| * can iterate over the elements of a queue through [forEach] or with
|
| * an [Iterator].
|
| */
|
| -interface Queue<E> extends Collection<E> default DoubleLinkedQueue<E> {
|
| +abstract class Queue<E> extends Collection<E> {
|
|
|
| /**
|
| * Creates a queue.
|
| */
|
| - Queue();
|
| + factory Queue() => new DoubleLinkedQueue<E>();
|
|
|
| /**
|
| * Creates a queue with the elements of [other]. The order in
|
| * the queue will be the order provided by the iterator of [other].
|
| */
|
| - Queue.from(Iterable<E> other);
|
| + factory Queue.from(Iterable<E> other) => new DoubleLinkedQueue<E>.from(other);
|
|
|
| /**
|
| * Removes and returns the first element of this queue. Throws an
|
|
|