Returns the previous element in the iteration.
Returns the previous element in the iteration.This method may be called repeatedly to iterate through the list backwards, or intermixed with calls to next to go back and forth. (Note that alternating calls to next and previous will return the same element repeatedly.)
This method has a time complexity of O(1).