org.sonatype.sisu.goodies.common
Class EnumerationIterator

java.lang.Object
  extended by org.sonatype.sisu.goodies.common.EnumerationIterator

public class EnumerationIterator
extends Object

Helper to adapt an Enumeration as an Iterator.

Since:
1.0

Constructor Summary
EnumerationIterator()
           
 
Method Summary
static
<T> Iterator<T>
of(Enumeration<T> n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationIterator

public EnumerationIterator()
Method Detail

of

public static <T> Iterator<T> of(Enumeration<T> n)


Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.