Class ArrayEventIterator

  extended by org.apache.jackrabbit.rmi.iterator.ArrayIterator
      extended by org.apache.jackrabbit.rmi.iterator.ArrayEventIterator
All Implemented Interfaces:
Iterator, EventIterator, RangeIterator

public class ArrayEventIterator
extends ArrayIterator
implements EventIterator

Array implementation of the JCR EventIterator interface. This class is used by the JCR-RMI client adapters to convert node arrays to iterators.

Felix Meschberger

Constructor Summary
ArrayEventIterator(Event[] nodes)
          Creates an iterator for the given array of events.
Method Summary
 Event nextEvent()
Methods inherited from class org.apache.jackrabbit.rmi.iterator.ArrayIterator
getPosition, getSize, hasNext, next, remove, skip
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
Methods inherited from interface java.util.Iterator
hasNext, next, remove

Constructor Detail


public ArrayEventIterator(Event[] nodes)
Creates an iterator for the given array of events.

nodes - the nodes to iterate
Method Detail


public Event nextEvent()

Specified by:
nextEvent in interface EventIterator

Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.