org.kuali.rice.core.util
Class CollectionUtils.IterableIterator<T>

java.lang.Object
  extended by org.kuali.rice.core.util.CollectionUtils.IterableIterator<T>
Type Parameters:
T - the type of Iterator and Iterable
All Implemented Interfaces:
Iterable<T>
Enclosing class:
CollectionUtils

private static class CollectionUtils.IterableIterator<T>
extends Object
implements Iterable<T>

An adapter from an Iterator to Iterable.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  Iterator<T> i
           
 
Constructor Summary
private CollectionUtils.IterableIterator(Iterator<T> i)
           
 
Method Summary
 Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

private final Iterator<T> i
Constructor Detail

CollectionUtils.IterableIterator

private CollectionUtils.IterableIterator(Iterator<T> i)
Method Detail

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.