Java 8 Recipes pp 153-186 | Cite as

Data Structures and Collections

  • Josh Juneau


Almost all applications perform tasks against user data. Sometimes data is obtained from a user, tasks are performed against the data, and the result is returned immediately. More often, data is obtained, and then it is stored within the application for later use, and eventually tasks are performed against it. Applications make use of data structures to store data that can be utilized thoroughout the lifetime of an application instance. The Java language contains a number of data structures that are known as Collection types, and they can be utilized for this purpose. These data structures implement the java.util.Collection interface, which provides a variety of methods that are useful for adding, removing, and performing tasks against the data that is used with the collection.


Switch Statement Collection Type Static Void Public Class Terminal Operation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Josh Juneau 2014

Authors and Affiliations

  • Josh Juneau
    • 1
  1. 1.IslandUSA

Personalised recommendations