org.apache.jackrabbit.commons.iterator
Class PropertyIterable
java.lang.Object
org.apache.jackrabbit.commons.iterator.PropertyIterable
- All Implemented Interfaces:
- Iterable<Property>
public class PropertyIterable
- extends Object
- implements Iterable<Property>
Adapter class that adapts a PropertyIterator
instance to an
Iterable
instance that always returns the same underlying
iterator.
- Since:
- Apache Jackrabbit 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyIterable
public PropertyIterable(PropertyIterator iterator)
- Creates an iterable adapter for the given property iterator.
- Parameters:
iterator
- the property iterator to be adapted
iterator
public Iterator<Property> iterator()
- Returns the property iterator.
- Specified by:
iterator
in interface Iterable<Property>
- Returns:
- property iterator
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.