|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.database.AvatarIterator
public class AvatarIterator
An class that defines the logic to iterate through an array of long unique ID's of avatars.
One feature of the class is the ability to recover from underlying modifications to the dataset in some cases. Consider the following sequence of events:
Constructor Summary | |
---|---|
AvatarIterator(long[] elements)
|
Method Summary | |
---|---|
java.lang.Object |
getNextElement()
Returns the next available element, or null if there are no more elements to return. |
boolean |
hasNext()
Returns true if there are more elements in the iteration. |
java.lang.Object |
next()
Returns the next available element, or null if there are no more elements to return. |
void |
remove()
Not supported for security reasons. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvatarIterator(long[] elements)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public java.lang.Object getNextElement()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |