previousIndex method

int previousIndex ()

Returns the index of the element that would be returned by a subsequent call to previous. (Returns -1 if the list iterator is at the beginning of the list.)

@return the index of the element that would be returned by a subsequent call to previous, or -1 if the list iterator is at the beginning of the list

Implementation

int previousIndex();