Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class java.util.LinkedList.ListItr

java.lang.Object
  |
  +--java.util.LinkedList.ListItr

private class LinkedList.ListItr
extends java.lang.Object
implements java.util.ListIterator

Field Summary
int expectedModCount
           
boolean forward
           
LinkedList.Entry lastReturned
           
int nextIndex
           
LinkedList.Entry next
           
 
Constructor Summary
LinkedList.ListItr(LinkedList this$0, int index)
           
 
Method Summary
void add(java.lang.Object o)
           
void checkForComodification()
           
boolean hasNext()
           
boolean hasPrevious()
           
int nextIndex()
           
java.lang.Object next()
           
int previousIndex()
           
java.lang.Object previous()
           
void remove()
           
void set(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notifyAll, notify, registerNatives, toString, wait, wait, wait
 

Field Detail

lastReturned

private LinkedList.Entry lastReturned

next

private LinkedList.Entry next

nextIndex

private int nextIndex

forward

private boolean forward

expectedModCount

private int expectedModCount
Constructor Detail

LinkedList.ListItr

LinkedList.ListItr(LinkedList this$0,
                   int index)
Method Detail

hasNext

public boolean hasNext()
Description copied from interface:
 
Specified by:
hasNext() in interface java.util.ListIterator


next

public java.lang.Object next()
Description copied from interface:
 
Specified by:
next() in interface java.util.ListIterator


hasPrevious

public boolean hasPrevious()
Description copied from interface:
 
Specified by:
hasPrevious() in interface java.util.ListIterator


previous

public java.lang.Object previous()
Description copied from interface:
 
Specified by:
previous() in interface java.util.ListIterator


nextIndex

public int nextIndex()
Description copied from interface:
 
Specified by:
nextIndex() in interface java.util.ListIterator


previousIndex

public int previousIndex()
Description copied from interface:
 
Specified by:
previousIndex() in interface java.util.ListIterator


remove

public void remove()
Description copied from interface:
 
Specified by:
remove() in interface java.util.ListIterator


set

public void set(java.lang.Object o)
Description copied from interface:
 
Specified by:
set(java.lang.Object) in interface java.util.ListIterator


add

public void add(java.lang.Object o)
Description copied from interface:
 
Specified by:
add(java.lang.Object) in interface java.util.ListIterator


checkForComodification

final void checkForComodification()

Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD