© Josh Juneau 2017

Josh Juneau, Java 9 Recipes, 10.1007/978-1-4842-1976-8_7

7. Data Sources and Collections

Josh Juneau

(1)Hinckley, Illinois, USA

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 throughout 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 ...

Get Java 9 Recipes: A Problem-Solution Approach, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.