org.apache.activemq.kaha.impl.container
Class ContainerListIterator

java.lang.Object
  extended by org.apache.activemq.kaha.impl.container.ContainerValueCollectionIterator
      extended by org.apache.activemq.kaha.impl.container.ContainerListIterator
All Implemented Interfaces:
Iterator, ListIterator

public class ContainerListIterator
extends ContainerValueCollectionIterator
implements ListIterator


Field Summary
 
Fields inherited from class org.apache.activemq.kaha.impl.container.ContainerValueCollectionIterator
container, currentItem, list, nextItem
 
Constructor Summary
protected ContainerListIterator(ListContainerImpl container, IndexLinkedList list, IndexItem start)
           
 
Method Summary
 void add(Object o)
           
 boolean hasPrevious()
           
 int nextIndex()
           
 Object previous()
           
 int previousIndex()
           
 void set(Object o)
           
 
Methods inherited from class org.apache.activemq.kaha.impl.container.ContainerValueCollectionIterator
hasNext, next, remove
 
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

ContainerListIterator

protected ContainerListIterator(ListContainerImpl container,
                                IndexLinkedList list,
                                IndexItem start)
Method Detail

hasPrevious

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

previous

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

nextIndex

public int nextIndex()
Specified by:
nextIndex 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

add

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


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.