@Deprecated @ProviderType public interface JobsIterator extends Iterator<org.osgi.service.event.Event>, Iterable<org.osgi.service.event.Event>
Iterator
allows to iterate over Event
s.
In addition to an iterator it might return the number of elements
in the collection and allows to skip several elements.Modifier and Type | Method and Description |
---|---|
long |
getPosition()
Deprecated.
Returns the current position within the iterator.
|
long |
getSize()
Deprecated.
Returns the total number of jobs.
|
void |
skip(long skipNum)
Deprecated.
Skip a number of jobs.
|
forEachRemaining, hasNext, next, remove
forEach, iterator, spliterator
void skip(long skipNum)
skipNum
- the non-negative number of elements to skipNoSuchElementException
- if skipped past the last job in the iterator.long getSize()
long getPosition()
Copyright © 2014 The Apache Software Foundation. All rights reserved.