16.15 Abstract Implementations

The collections framework provides various abstract implementations of Collection interfaces from which you can quickly “flesh out” complete customized implementations. These abstract implementations include a thin Collection implementation called an AbstractCollection, a List implementation that allows array-like access to its elements called an AbstractList, a Map implementation called an AbstractMap, a List implementation that allows sequential access (from beginning to end) to its elements called an AbstractSequentialList, a Set implementation called an AbstractSet and a Queue implementation called AbstractQueue. You can learn more about these classes at http://docs.oracle.com/javase/7/docs/api/java/util/package-summary.html ...

Get Java™ How To Program (Early Objects), Tenth Edition 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.