12 Understanding Julia collections

This chapter covers

  • Understanding how collections are categorized according to the type of operations they support
  • Turning staged rockets into an iterable collection
  • Using common operations supported by various collection types

You have already looked at collections such as arrays and dictionaries, but there are many other types of collections, including sets, linked lists, heaps, stacks, and binary trees. In this chapter, I will cover the commonalities between different types of collections. Every collection organizes and stores multiple elements, and each collection type offers unique ways of accessing these elements. For example, with a dictionary, you can access elements by providing a key, while an array ...

Get Julia as a Second Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.