jlibs.core.util
Class Enumerator<E>

java.lang.Object
  extended by jlibs.core.util.Enumerator<E>
All Implemented Interfaces:
Iterator<E>

public class Enumerator<E>
extends Object
implements Iterator<E>

Author:
Santhosh Kumar T

Constructor Summary
Enumerator(Enumeration<E> enumer)
           
 
Method Summary
 boolean hasNext()
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Enumerator

public Enumerator(Enumeration<E> enumer)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<E>

next

public E next()
Specified by:
next in interface Iterator<E>

remove

public void remove()
Specified by:
remove in interface Iterator<E>


Copyright © 2018. All rights reserved.