Java collections and generics.
Doubly linked list.
- Array / linked list can be used as stack, queue, heap.
- Sorting Collections
Joshua Bloch - created the collections framework.
The Collections class is implemented by set,list and queue. and holds a list of static methods to work on the collection of objects.
General methods in collection.
Search / Find object.
Iterate over objects.
Collections framework hierarchy.
List interface provides things like:
iterate over them.
Set interface is about:
- Does not allow duplicates.