October 2018
Intermediate to advanced
370 pages
9h 15m
English
The list iterator extends from the iterator interface and also has some additional functions. While the iterator interface can only move in one direction, the list iterator can move in both directions. It can check the next element with the hasNext() function, and it can also check the previous function with the hasPrevious() function. Take a look at the following diagram of ListIterator, which inherits from the Iterator interface:

Let's have a quick look at all of the provided functions:
Read now
Unlock full access