O'Reilly logo

Dart: Scalable Application Development by Ivo Balbaert, Sergey Akopkokhyants, Davy Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. The Collection Framework

The collection framework is a set of high-performance classes used to store and manipulate groups of objects. This framework allows different types of collections to work in a similar manner and is designed around a set of standard interfaces. Several standard implementations of interfaces can be extended or adapted very easily. In this chapter, we will cover the following topics:

  • An introduction to the collection framework
  • Ordering of elements in collections
  • Class hierarchy of the main interfaces
  • The Iterable and Iterator interfaces
  • The List, Set, Queue, and Map collections implementation
  • Immutable collections
  • Choosing the right collection

A Dart collection framework

In general, a collection is an object that holds ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required