23.11.2017 Views

java_tutorial

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Java<br />

The standard collection classes are summarized in the following table:<br />

Sr. No.<br />

1<br />

2<br />

Classes with Description<br />

AbstractCollection<br />

Implements most of the Collection interface.<br />

AbstractList<br />

Extends AbstractCollection and implements most of the List interface.<br />

AbstractSequentialList<br />

3<br />

Extends AbstractList for use by a collection that uses sequential rather than<br />

random access of its elements.<br />

4<br />

LinkedList<br />

Implements a linked list by extending AbstractSequentialList.<br />

5<br />

6<br />

ArrayList<br />

Implements a dynamic array by extending AbstractList.<br />

AbstractSet<br />

Extends AbstractCollection and implements most of the Set interface.<br />

7<br />

HashSet<br />

Extends AbstractSet for use with a hash table.<br />

8<br />

LinkedHashSet<br />

Extends HashSet to allow insertion-order iterations.<br />

9<br />

TreeSet<br />

Implements a set stored in a tree. Extends AbstractSet.<br />

390

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!