public class EventIteratorAdapter extends RangeIteratorDecorator implements EventIterator
Constructor and Description |
---|
EventIteratorAdapter(java.util.Collection collection)
Creates an iterator for the given collection.
|
EventIteratorAdapter(EventIterator iterator)
Creates an adapter for the given
RangeIterator . |
EventIteratorAdapter(java.util.Iterator iterator)
Creates an adapter for the given
Iterator . |
EventIteratorAdapter(RangeIterator iterator)
Creates an adapter for the given
RangeIterator . |
Modifier and Type | Method and Description |
---|---|
Event |
nextEvent()
Returns the next event.
|
getPosition, getSize, hasNext, next, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
public EventIteratorAdapter(EventIterator iterator)
RangeIterator
.iterator
- iterator of Event
spublic EventIteratorAdapter(RangeIterator iterator)
RangeIterator
.iterator
- iterator of Event
spublic EventIteratorAdapter(java.util.Iterator iterator)
Iterator
.iterator
- iterator of Event
s.public EventIteratorAdapter(java.util.Collection collection)
collection
- collection of Event
spublic Event nextEvent() throws java.util.NoSuchElementException
nextEvent
in interface EventIterator
java.util.NoSuchElementException
- if there is no next eventCopyright © 2010 - 2020 Adobe. All Rights Reserved