Class PropertyIteratorAdapter

java.lang.Object
org.apache.jackrabbit.commons.iterator.RangeIteratorDecorator
org.apache.jackrabbit.commons.iterator.PropertyIteratorAdapter
All Implemented Interfaces:
Iterator, PropertyIterator, RangeIterator

public class PropertyIteratorAdapter extends RangeIteratorDecorator implements PropertyIterator
Adapter class for turning RangeIterators or Iterators into PropertyIterators.
  • Field Details

  • Constructor Details

    • PropertyIteratorAdapter

      public PropertyIteratorAdapter(RangeIterator iterator)
      Creates an adapter for the given RangeIterator.
      Parameters:
      iterator - iterator of Property instances
    • PropertyIteratorAdapter

      public PropertyIteratorAdapter(Iterator iterator)
      Creates an adapter for the given Iterator.
      Parameters:
      iterator - iterator of Property instances
    • PropertyIteratorAdapter

      public PropertyIteratorAdapter(Iterator iterator, long size)
    • PropertyIteratorAdapter

      public PropertyIteratorAdapter(Collection collection)
      Creates an iterator for the given collection.
      Parameters:
      collection - collection of Property instances
  • Method Details