org.apache.jackrabbit.rmi.iterator
Class ArrayRowIterator

java.lang.Object
  extended byorg.apache.jackrabbit.rmi.iterator.ArrayIterator
      extended byorg.apache.jackrabbit.rmi.iterator.ArrayRowIterator
All Implemented Interfaces:
Iterator, RangeIterator, RowIterator

public class ArrayRowIterator
extends ArrayIterator
implements RowIterator

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

Author:
Philipp Koch

Constructor Summary
ArrayRowIterator(Row[] rows)
          Creates an iterator for the given array of rows.
 
Method Summary
 Row nextRow()
          
 
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

ArrayRowIterator

public ArrayRowIterator(Row[] rows)
Creates an iterator for the given array of rows.

Parameters:
rows - the rows to iterate
Method Detail

nextRow

public Row nextRow()

Specified by:
nextRow in interface RowIterator


Copyright © 2004-2005 . All Rights Reserved.