Objectives
In this appendix you’ll:
Learn what collections are.
Use class Arrays
for array manipulations.
Understand how typewrapper classes enable programs to process primitive data values as objects.
Use prebuilt generic data structures from the collections framework.
Use iterators to “walk through” a collection.
Learn fundamental file- and stream-processing concepts.
What threads are and why they’re useful.
How threads enable you to manage concurrent activities.
To create and execute Runnable
s.
Fundamentals of thread synchronization.
How multiple threads can update Swing GUI components in a thread-safe manner.
J.3 Type-Wrapper Classes for Primitive Types
J.4 Interface Collection
and Class Collections
J.5.3 Views into Collections and Arrays
Method asList
J.10 Introduction to Files and Streams
J.12 Introduction to Object Serialization
J.13 Introduction to Multithreading
J.14 Creating and Executing Threads with the Executor
Framework
J.15 Overview of Thread Synchronization
J.16 Concurrent Collections Overview
Self-Review Exercises | Answers to Self-Review Exercises | Exercises