| java.lang.Object com.Yasna.forum.database.DbThreadIterator
DbThreadIterator | public class DbThreadIterator implements Iterator(Code) | | Database implementation of Iterator for ForumMesages in a ForumThread.
|
Method Summary | |
public boolean | hasNext() Returns true if there are more messages in the list. | public Object | next() Returns the next message in the interation. | public void | remove() Not supported for security reasons. |
DbThreadIterator | protected DbThreadIterator(ForumThread thread, int startIndex, int numResults)(Code) | | |
hasNext | public boolean hasNext()(Code) | | Returns true if there are more messages in the list.
true if the iterator has more elements. |
next | public Object next() throws java.util.NoSuchElementException(Code) | | Returns the next message in the interation.
the next message in the interation. throws: NoSuchElementException - if the iteration has no more elements. |
|
|