|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.adapter.GenericScriptResourceAdapter.AcctIter
Very basic AccountIterator implementation that can be built by simple construction with a collection of names. Builds users on the fly as the iterator progresses.
Field Summary |
Fields inherited from interface com.waveset.adapter.AccountIterator |
code_id |
Constructor Summary | |
GenericScriptResourceAdapter.AcctIter(java.util.Collection names)
Constructor takes collection of all user name strings. |
|
GenericScriptResourceAdapter.AcctIter(java.lang.String spaceDelimitedNames)
Convenience constructor that builds an account iterator from a string of space delimited user names. |
Method Summary | |
void |
close()
Closes the iterator. |
boolean |
hasNext()
Returns true if there are more users to go. |
WSUser |
next()
Returns the next user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GenericScriptResourceAdapter.AcctIter(java.lang.String spaceDelimitedNames)
public GenericScriptResourceAdapter.AcctIter(java.util.Collection names)
Method Detail |
public boolean hasNext()
hasNext
in interface AccountIterator
public WSUser next()
next
in interface AccountIterator
public void close()
close
in interface AccountIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |