| Index: sdk/lib/collection/linked_list.dart
|
| diff --git a/sdk/lib/collection/linked_list.dart b/sdk/lib/collection/linked_list.dart
|
| index 8ddc05ae6811376f652354702ea813609183e327..41ff14f8c477fbe4be95ea4a379cc9061a15b365 100644
|
| --- a/sdk/lib/collection/linked_list.dart
|
| +++ b/sdk/lib/collection/linked_list.dart
|
| @@ -7,6 +7,9 @@ part of "collection.dart";
|
| /**
|
| * A specialized double-linked list of elements that extends [LinkedListEntry].
|
| *
|
| + * Deprecated. Use the same named class from package `collection`, instead.
|
| + * [https://pub.dartlang.org/packages/collection]
|
| + *
|
| * This is not a generic data structure. It only accepts elements that extend
|
| * the [LinkedListEntry] class. See the [Queue] implementations for
|
| * generic collections that allow constant time adding and removing at the ends.
|
| @@ -27,6 +30,7 @@ part of "collection.dart";
|
| * A `LinkedList` also allows constant time adding and removing at either end,
|
| * and a constant time length getter.
|
| */
|
| +@deprecated
|
| class LinkedList<E extends LinkedListEntry<E>> extends Iterable<E> {
|
| int _modificationCount = 0;
|
| int _length = 0;
|
| @@ -217,6 +221,9 @@ class _LinkedListIterator<E extends LinkedListEntry<E>> implements Iterator<E> {
|
| /**
|
| * An object that can be an element in a [LinkedList].
|
| *
|
| + * Deprecated. Use the same named class from package `collection`, instead.
|
| + * [https://pub.dartlang.org/packages/collection]
|
| + *
|
| * All elements of a `LinkedList` must extend this class.
|
| * The class provides the internal links that link elements together
|
| * in the `LinkedList`, and a reference to the linked list itself
|
| @@ -228,6 +235,7 @@ class _LinkedListIterator<E extends LinkedListEntry<E>> implements Iterator<E> {
|
| *
|
| * When created, an entry is not in any linked list.
|
| */
|
| +@deprecated
|
| abstract class LinkedListEntry<E extends LinkedListEntry<E>> {
|
| LinkedList<E> _list;
|
| E _next;
|
|
|