Practical Guide to Java Collections (1st edn), FREE E-BOOK

When we say “Java collections”, we actually can mean two things. In a general sense, we talk about implementations of common data structures, like array-based lists, sets, queues, maps, vectors etc. In a more narrow understanding, we describe concrete abstractions and implementations, which together make Java Collections Framework. This is a set of most widely used data structures and corresponding algorithms (like sorting, searching or filtering), which inherit the root java.util.Collection interface. The book covers both standard Java tools (Java 11+) and Apache Commons Collections utils.

Book contents

  1. Common collections methods
  2. Streams
  3. Lists
  4. Sets
  5. Queues
  6. Maps
  7. AssertJ tools for collections
  8. Iterators