org.mmbase.bridge
Interface RelationIterator

All Superinterfaces:
Iterator, ListIterator, NodeIterator
All Known Implementing Classes:
BasicRelationList.BasicRelationIterator, CollectionRelationList.BasicRelationIterator

public interface RelationIterator
extends NodeIterator

A list of nodes

Version:
$Id: RelationIterator.java,v 1.6 2004/10/09 09:39:32 nico Exp $
Author:
Pierre van Rooden

Method Summary
 Relation nextRelation()
          Returns the next element in the iterator as a Relation
 Relation previousRelation()
          Returns the previous element in the iterator as a Relation
 
Methods inherited from interface org.mmbase.bridge.NodeIterator
nextNode, previousNode
 
Methods inherited from interface java.util.ListIterator
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set
 

Method Detail

nextRelation

public Relation nextRelation()
Returns the next element in the iterator as a Relation

Returns:
next Relation

previousRelation

public Relation previousRelation()
Returns the previous element in the iterator as a Relation

Returns:
previous Relation
Since:
MMBase-1.7


MMBase build 1.8.1.20060716