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

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

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

An adapter from an Enumeration to Iterable.

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

Field Summary
private  Enumeration<T> e
           
 
Constructor Summary
private CollectionUtils.IterableEnumeration(Enumeration<T> e)
           
 
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

e

private final Enumeration<T> e
Constructor Detail

CollectionUtils.IterableEnumeration

private CollectionUtils.IterableEnumeration(Enumeration<T> e)
Method Detail

iterator

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


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