|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.discussions.sdk.TdLastMessagePostsIterator
TdLastMessagePostsResultInfo returns the most recent messages posted per container sorted by post date. Because of this, we can't preload only a few results or anything like that. We need all of the results so that we can sort them appropriately.
Constructor Summary | |
TdLastMessagePostsIterator(java.util.Map mBoards, oracle.discussions.sdk.impl.TdSession tdsession, oracle.discussions.sdk.impl.data.TdMessageInfo[] tdmis) |
Method Summary | |
int |
find(java.lang.Object key) Returns the index of objects with the given key in the iterator: Not supported in this Iterator type |
boolean |
hasNext() |
boolean |
hasPrevious() Returns a boolean value indicating if there is an object before the current iterator position in the underlying collection. |
java.lang.Object |
next() |
java.lang.Object |
previous() Returns an object which is before the current iterator position in the underlying collection. |
void |
remove() |
void |
seek(int iPosition) Move the search result into the supplied position. |
int |
size() Returns the size the result list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TdLastMessagePostsIterator(java.util.Map mBoards, oracle.discussions.sdk.impl.TdSession tdsession, oracle.discussions.sdk.impl.data.TdMessageInfo[] tdmis)
Method Detail |
public void seek(int iPosition)
iPosition
- the position to which the iterator is to be moved.public int size()
public boolean hasPrevious()
public boolean hasNext()
public java.lang.Object previous()
public java.lang.Object next()
public void remove()
public int find(java.lang.Object key) throws TdException
key
- the Object which is being searched in the underlying collection
|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |