Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.nntp.spi
Class MultiArticleIterator

java.lang.Object
  extended by com.jivesoftware.util.MultiIterator
      extended by com.jivesoftware.forum.nntp.spi.MultiArticleIterator
All Implemented Interfaces:
java.util.Iterator

public class MultiArticleIterator
extends MultiIterator

A simple extension of the MultiIterator class which assumes that items in the iterators are DbForumMessages. Further, each object returned by the next() method is wrapped in a FMessageArticleAdapter class.


Constructor Summary
MultiArticleIterator()
           
 
Method Summary
 java.lang.Object next()
          Returns the next object in the iterator list.
 
Methods inherited from class com.jivesoftware.util.MultiIterator
addIterator, hasNext, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiArticleIterator

public MultiArticleIterator()
Method Detail

next

public java.lang.Object next()
Description copied from class: MultiIterator
Returns the next object in the iterator list. Will throw a NoSuchElementException exception if there are no items to return.

Specified by:
next in interface java.util.Iterator
Overrides:
next in class MultiIterator
Returns:
the next object in the iterator list.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.