org.jboss.dna.repository.observation
Class ObservationService.DelegatingEventIterator
java.lang.Object
org.jboss.dna.repository.observation.ObservationService.DelegatingEventIterator
- All Implemented Interfaces:
- Iterator, javax.jcr.observation.EventIterator, javax.jcr.RangeIterator
- Enclosing class:
- ObservationService
protected class ObservationService.DelegatingEventIterator
- extends Object
- implements javax.jcr.observation.EventIterator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObservationService.DelegatingEventIterator
protected ObservationService.DelegatingEventIterator(Iterator<javax.jcr.observation.Event> events,
int size)
nextEvent
public javax.jcr.observation.Event nextEvent()
-
- Specified by:
nextEvent in interface javax.jcr.observation.EventIterator
getPosition
public long getPosition()
-
- Specified by:
getPosition in interface javax.jcr.RangeIterator
getSize
public long getSize()
-
- Specified by:
getSize in interface javax.jcr.RangeIterator
skip
public void skip(long skipNum)
-
- Specified by:
skip in interface javax.jcr.RangeIterator
hasNext
public boolean hasNext()
-
- Specified by:
hasNext in interface Iterator
next
public Object next()
-
- Specified by:
next in interface Iterator
remove
public void remove()
-
- Specified by:
remove in interface Iterator
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.