net.northfuse.resources.config
Class NodeListIterator<T extends Node>

java.lang.Object
  extended by net.northfuse.resources.config.NodeListIterator<T>
Type Parameters:
T - Some type that extends Node
All Implemented Interfaces:
Iterable<T>

public final class NodeListIterator<T extends Node>
extends Object
implements Iterable<T>

Converts a node list to an iterable.

Author:
tylers2

Constructor Summary
NodeListIterator(NodeList nodeList)
          Creates a NodeListIterator.
 
Method Summary
 Iterator<T> iterator()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeListIterator

public NodeListIterator(NodeList nodeList)
Creates a NodeListIterator.

Parameters:
nodeList - A node list
Method Detail

iterator

public Iterator<T> iterator()

Specified by:
iterator in interface Iterable<T extends Node>


Copyright © 2011. All Rights Reserved.