|
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.TdPopularThreadIterator
TdPopularThreadIterator returns threads sorted by the number of replies per thread. 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 | |
TdPopularThreadIterator(oracle.mail.sdk.esmail.OracleUserConnectInfo fci, java.util.Map mBoards, oracle.discussions.sdk.impl.TdSession tdsession, oracle.discussions.sdk.impl.data.TdThreadInfo[] tdptis) |
Method Summary | |
int |
find(java.lang.Object key) return the index of objects with the given key in the iterator |
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 TdPopularThreadIterator(oracle.mail.sdk.esmail.OracleUserConnectInfo fci, java.util.Map mBoards, oracle.discussions.sdk.impl.TdSession tdsession, oracle.discussions.sdk.impl.data.TdThreadInfo[] tdptis)
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 |