Class RowIterable

java.lang.Object
org.apache.jackrabbit.commons.iterator.RowIterable
All Implemented Interfaces:
Iterable<Row>

@Deprecated public class RowIterable extends Object implements Iterable<Row>
Deprecated.
Adapter class that adapts a RowIterator instance to an Iterable instance that always returns the same underlying iterator.
Since:
Apache Jackrabbit 2.0
  • Constructor Details

    • RowIterable

      public RowIterable(RowIterator iterator)
      Deprecated.
      Creates an iterable adapter for the given row iterator.
      Parameters:
      iterator - the row iterator to be adapted
  • Method Details

    • iterator

      public Iterator<Row> iterator()
      Deprecated.
      Returns the row iterator.
      Specified by:
      iterator in interface Iterable<Row>
      Returns:
      row iterator