CodesJava

Easy learning with example program codes

Abstract classes in collection framework


1. AbstractCollection:

AbstractCollection implements most of the Collection interface.

2. AbstractList:  

AbstractList extends AbstractCollection and implements most of the List interface.

3. AbstractSequentialList:

AbstractSequentialList extends AbstractList for use by a collection that uses sequential rather than random access of its elements.

4. AbstractSet:

AbstractSet extends AbstractCollection and implements most of the Set interface.

5. AbstractMap:

AbstractMap implements most of the Map interface.
 
Next Topic: Sorting in java with example.
Previous Topic: ArrayDeque in java with example.



Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap