net.sf.mmapps.commons.bridge
Class GenericNodeIterator
java.lang.Object
net.sf.mmapps.commons.bridge.GenericNodeIterator
- All Implemented Interfaces:
- java.util.Iterator, java.util.ListIterator, org.mmbase.bridge.NodeIterator
public class GenericNodeIterator
- extends java.lang.Object
- implements org.mmbase.bridge.NodeIterator
Generic Iterator to use with MMbase node lists
- Version:
- $Id: GenericNodeIterator.java,v 1.1 2006/04/06 10:00:34 nklasens Exp $
- Author:
- Nico Klasens (Finalist IT Group)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericNodeIterator
public GenericNodeIterator(java.util.ListIterator iter)
- Parameters:
iter -
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator- Specified by:
hasNext in interface java.util.ListIterator
- See Also:
Iterator.hasNext()
next
public java.lang.Object next()
- Specified by:
next in interface java.util.Iterator- Specified by:
next in interface java.util.ListIterator
- See Also:
Iterator.next()
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious in interface java.util.ListIterator
- See Also:
ListIterator.hasPrevious()
previous
public java.lang.Object previous()
- Specified by:
previous in interface java.util.ListIterator
- See Also:
ListIterator.previous()
nextIndex
public int nextIndex()
- Specified by:
nextIndex in interface java.util.ListIterator
- See Also:
ListIterator.nextIndex()
previousIndex
public int previousIndex()
- Specified by:
previousIndex in interface java.util.ListIterator
- See Also:
ListIterator.previousIndex()
set
public void set(java.lang.Object o)
- Specified by:
set in interface java.util.ListIterator
- See Also:
ListIterator.set(java.lang.Object)
add
public void add(java.lang.Object o)
- Specified by:
add in interface java.util.ListIterator
- See Also:
ListIterator.add(java.lang.Object)
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator- Specified by:
remove in interface java.util.ListIterator
- See Also:
Iterator.remove()
nextNode
public org.mmbase.bridge.Node nextNode()
- Specified by:
nextNode in interface org.mmbase.bridge.NodeIterator
- See Also:
NodeIterator.nextNode()
previousNode
public org.mmbase.bridge.Node previousNode()
- Specified by:
previousNode in interface org.mmbase.bridge.NodeIterator
- See Also:
NodeIterator.previousNode()
Copyright © 2003-2006 mmapps. All Rights Reserved.