| java.lang.Object org.nemesis.forum.impl.DbThreadIterator
DbThreadIterator | public class DbThreadIterator implements Iterator(Code) | | Database implementation of Iterator for ForumMesages in a ForumThread.
|
Field Summary | |
protected static Log | log |
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. |
log | protected static Log log(Code) | | |
DbThreadIterator | protected DbThreadIterator(ForumThread thread, int startIndex, int numResults)(Code) | | |
DbThreadIterator | protected DbThreadIterator(boolean approved, ForumThread thread)(Code) | | |
DbThreadIterator | protected DbThreadIterator(boolean approved, 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. |
|
|