public class SubscriptionIterator extends Object
However, with an asynchronous Session it is possible for the set of active
subscriptions to change whilst the SubscriptionIterator is being used. The
SubscriptionIterator is guaranteed to never return the same subscription
twice. However, the subscription the iterator points to may no longer be
active. In this case the result of Subscription.subscriptionStatus()
will be UNSUBSCRIBED
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Return true if there are more Subscriptions available for iteration
|
Subscription |
next()
Returns the next Subscription in the iteration
|
public boolean hasNext()
public Subscription next()
NoSuchElementException - if the iteration has no more
SubscriptionsCopyright © 2019 Bloomberg L.P.. All rights reserved.