|Constructor and Description|
Creates an instance with the specified object to use as the only element of the iteration.
|Modifier and Type||Method and Description|
Returns the next element in the iteration.
public boolean hasNext()
trueif the iteration has more elements, and
public Object next()
NoSuchElementException) without terminating the iteration.
public void setException(RemoteException e)
RemoteExceptionthrown from a remote call made while attempting to obtain a
TrustVerifierfrom the object returned by the most recent call to
next. Setting an exception may influence which (if any) elements are subsequently produced by the iteration. (A
RemoteExceptionthrown directly by
nextshould not be passed to this method.)
RemoteExceptionthrown from a remote call
NullPointerException- if the argument is
nexthas never been called, or if this method has already been called since the most recent call to
next, or if
hasNexthas been called since the most recent call to
next, or if the most recent call to
Copyright © GigaSpaces.