antlraux package
v0.2.1

antlraux.util
Class IteratorEnumeration

java.lang.Object
  |
  +--antlraux.util.IteratorEnumeration
All Implemented Interfaces:
java.util.Enumeration

public class IteratorEnumeration
extends java.lang.Object
implements java.util.Enumeration

Transforms an Iterator in an Enumeration.

Author:
Enrique José García Cota
See Also:
EnumerationIterator

Constructor Summary
IteratorEnumeration(java.util.Iterator i)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorEnumeration

public IteratorEnumeration(java.util.Iterator i)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

antlraux package
v0.2.1

Created by Enrique José García Cota