J.18 Wrap-Up
In this appendix, you used classes ArrayList
and LinkedList
, which both implement the List
interface. You used several predefined methods for manipulating collections. Next, you learned how to use the Set
interface and class HashSet
to manipulate an unordered collection of unique values. We discussed the SortedSet
interface and class TreeSet
for manipulating a sorted collection of unique values. You then learned about Java’s interfaces and classes for manipulating key/value pairs—Map
, SortedMap
, HashMap
and TreeMap
. We discussed the Collections
class’s static
methods for obtaining unmodifiable and synchronized views of collections.
Next, we introduced fundamental concepts of file and stream processing and overviewed object serialization. ...
Get Android How to Program, 3/e 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.