public class ArrayEventIterator extends ArrayIterator implements EventIterator
EventIterator
interface.
This class is used by the JCR-RMI client adapters to convert
node arrays to iterators.Constructor and Description |
---|
ArrayEventIterator(Event[] nodes)
Creates an iterator for the given array of events.
|
Modifier and Type | Method and Description |
---|---|
Event |
nextEvent() |
getPosition, getSize, hasNext, next, remove, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
forEachRemaining, hasNext, next, remove
public ArrayEventIterator(Event[] nodes)
nodes
- the nodes to iteratepublic Event nextEvent()
nextEvent
in interface EventIterator
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.