No examples for this method. 
     
 
     
      Frequently called with: [Clear]  
     
 
      
    
 
     
     
     -1 
    
 
     
     
   | java.util.ListIterator<E> | 
An ListIterator is used to sequence over a List of objects. ListIterator can move backwards or forwards through the list.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | 
           Inserts the specified object into the list between 
            nextandprevious. | ||||||||||
|  | 
           Returns whether there are more elements to iterate.
           | ||||||||||
|  | 
           Returns whether there are previous elements to iterate.
           | ||||||||||
|  | 
           Returns the next object in the iteration.
           | ||||||||||
|  | 
           Returns the index of the next object in the iteration.
           | ||||||||||
|  | 
           Returns the previous object in the iteration.
           | ||||||||||
|  | 
           Returns the index of the previous object in the iteration.
           | ||||||||||
|  | 
           Removes the last object returned by 
            nextorpreviousfrom the list. | ||||||||||
|  | 
           Replaces the last object returned by 
            nextorpreviouswith the specified object. | ||||||||||
| [Expand] 
           Inherited Methods
           | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From interface java.util.Iterator | |||||||||||
Inserts the specified object into the list between next and previous. The object inserted will be the previous object.
| object | the object to insert. | 
|---|
| UnsupportedOperationException | if adding is not supported by the list being iterated. | 
|---|---|
| ClassCastException | if the class of the object is inappropriate for the list. | 
| IllegalArgumentException | if the object cannot be added to the list. | 
Returns whether there are more elements to iterate.
true if there are more elements, false otherwise.Returns whether there are previous elements to iterate.
true if there are previous elements, false otherwise.Returns the next object in the iteration.
| NoSuchElementException | if there are no more elements. | 
|---|
Returns the index of the next object in the iteration.
| NoSuchElementException | if there are no more elements. | 
|---|
Returns the previous object in the iteration.
| NoSuchElementException | if there are no previous elements. | 
|---|
Returns the index of the previous object in the iteration.
| NoSuchElementException | if there are no previous elements. | 
|---|
Removes the last object returned by next or previous from the list.
| UnsupportedOperationException | if removing is not supported by the list being iterated. | 
|---|---|
| IllegalStateException | if nextorprevioushave not been called, orremoveoraddhave already been called after the last call tonextorprevious. | 
Replaces the last object returned by next or previous with the specified object.
| object | the object to set. | 
|---|
| UnsupportedOperationException | if setting is not supported by the list being iterated | 
|---|---|
| ClassCastException | if the class of the object is inappropriate for the list. | 
| IllegalArgumentException | if the object cannot be added to the list. | 
| IllegalStateException | if nextorprevioushave not been called, orremoveoraddhave already been called after the last call tonextorprevious. |