public class EventIteratorAdapter extends RangeIteratorDecorator implements javax.jcr.observation.EventIterator
Constructor and Description |
---|
EventIteratorAdapter(Collection collection)
Creates an iterator for the given collection.
|
EventIteratorAdapter(javax.jcr.observation.EventIterator iterator)
Creates an adapter for the given
RangeIterator . |
EventIteratorAdapter(Iterator iterator)
Creates an adapter for the given
Iterator . |
EventIteratorAdapter(javax.jcr.RangeIterator iterator)
Creates an adapter for the given
RangeIterator . |
Modifier and Type | Method and Description |
---|---|
javax.jcr.observation.Event |
nextEvent()
Returns the next event.
|
getPosition, getSize, hasNext, next, remove, skip
public EventIteratorAdapter(javax.jcr.observation.EventIterator iterator)
RangeIterator
.iterator
- iterator of Event
spublic EventIteratorAdapter(javax.jcr.RangeIterator iterator)
RangeIterator
.iterator
- iterator of Event
spublic EventIteratorAdapter(Iterator iterator)
Iterator
.iterator
- iterator of Event
s.public EventIteratorAdapter(Collection collection)
collection
- collection of Event
spublic javax.jcr.observation.Event nextEvent() throws NoSuchElementException
nextEvent
in interface javax.jcr.observation.EventIterator
NoSuchElementException
- if there is no next eventCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.