Class NodeIterable

  • All Implemented Interfaces:
    java.lang.Iterable<Node>

    @Deprecated
    public class NodeIterable
    extends java.lang.Object
    implements java.lang.Iterable<Node>
    Deprecated.
    Adapter class that adapts a NodeIterator instance to an Iterable instance that always returns the same underlying iterator.
    Since:
    Apache Jackrabbit 2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeIterable​(NodeIterator iterator)
      Deprecated.
      Creates an iterable adapter for the given node iterator.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Iterator<Node> iterator()
      Deprecated.
      Returns the node iterator.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • NodeIterable

        public NodeIterable​(NodeIterator iterator)
        Deprecated.
        Creates an iterable adapter for the given node iterator.
        Parameters:
        iterator - the node iterator to be adapted
    • Method Detail

      • iterator

        public java.util.Iterator<Node> iterator()
        Deprecated.
        Returns the node iterator.
        Specified by:
        iterator in interface java.lang.Iterable<Node>
        Returns:
        node iterator