dart:collection library Null safety

Classes and utilities that supplement the collection support in dart:core.

To use this library in your code:

import 'dart:collection';

Classes

DoubleLinkedQueue<E>
A Queue implementation based on a double-linked list. [...]
DoubleLinkedQueueEntry<E>
An entry in a doubly linked list. It contains a pointer to the next entry, the previous entry, and the boxed element.
HashMap<K, V>
A hash-table based implementation of Map. [...]
HashSet<E>
An unordered hash-table based Set implementation. [...]
HasNextIterator<E>
The HasNextIterator class wraps an Iterator and provides methods to iterate over an object using hasNext and next. [...]
IterableBase<E>
Base class for implementing Iterable. [...]
IterableMixin<E>
This Iterable mixin implements all Iterable members except iterator. [...]
LinkedHashMap<K, V>
A hash-table based implementation of Map. [...]
LinkedHashSet<E>
A LinkedHashSet is a hash-table based Set implementation. [...]
LinkedList<E extends LinkedListEntry<E>>
A specialized double-linked list of elements that extends LinkedListEntry. [...]
LinkedListEntry<E extends LinkedListEntry<E>>
An object that can be an element in a LinkedList. [...]
ListBase<E>
Abstract implementation of a list. [...]
ListMixin<E>
Base implementation of a List class. [...]
ListQueue<E>
List based Queue. [...]
MapBase<K, V>
Base class for implementing a Map. [...]
MapMixin<K, V>
Mixin implementing a Map. [...]
MapView<K, V>
Wrapper around a class that implements Map that only exposes Map members. [...]
Queue<E>
A Queue is a collection that can be manipulated at both ends. One can iterate over the elements of a queue through forEach or with an Iterator. [...]
SetBase<E>
Base implementation of Set. [...]
SetMixin<E>
Mixin implementation of Set. [...]
SplayTreeMap<K, V>
A Map of objects that can be ordered relative to each other. [...]
SplayTreeSet<E>
A Set of objects that can be ordered relative to each other. [...]
UnmodifiableListView<E>
An unmodifiable List view of another List. [...]
UnmodifiableMapBase<K, V>
Basic implementation of an unmodifiable Map. [...]
UnmodifiableMapView<K, V>
View of a Map that disallow modifying the map. [...]
UnmodifiableSetView<E>
An unmodifiable Set view of another Set. [...]