wt.fc.collections
Class EmptyCollections.EmptyListIterator

java.lang.Object
  extended bywt.fc.collections.EmptyCollections.EmptyIterator
      extended bywt.fc.collections.EmptyCollections.EmptyListIterator
All Implemented Interfaces:
Iterator, ListIterator, Serializable
Enclosing class:
EmptyCollections

static final class EmptyCollections.EmptyListIterator
extends EmptyCollections.EmptyIterator
implements ListIterator


Constructor Summary
(package private) EmptyCollections.EmptyListIterator()
           
 
Method Summary
 void add(Object o)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 Object next()
           
 int nextIndex()
           
 Object previous()
           
 int previousIndex()
           
private  Object readResolve()
           
 void remove()
           
 void set(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.ListIterator
hasNext, next, remove
 

Constructor Detail

EmptyCollections.EmptyListIterator

EmptyCollections.EmptyListIterator()
Method Detail

add

public void add(Object o)
Specified by:
add in interface ListIterator

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator

previous

public Object previous()
Specified by:
previous in interface ListIterator

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator

set

public void set(Object o)
Specified by:
set in interface ListIterator

readResolve

private Object readResolve()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator