21 Custom Generic Data Structures

Objectives

In this chapter you’ll:

  • Form linked data structures using references, self-referential classes, recursion and generics.

  • Create and manipulate dynamic data structures, such as linked lists, queues, stacks and binary trees.

  • Learn various important applications of linked data structures.

  • Create reusable data structures with composition.

  • Organize classes in packages to promote reuse.

Get Java How to Program, Early Objects, 11th Edition 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.