org.exolab.castor.mapping.loader
Class J2CollectionHandlers.IteratorEnumerator<T>

java.lang.Object
  extended by org.exolab.castor.mapping.loader.J2CollectionHandlers.IteratorEnumerator<T>
All Implemented Interfaces:
Enumeration<T>
Enclosing class:
J2CollectionHandlers

public static final class J2CollectionHandlers.IteratorEnumerator<T>
extends Object
implements Enumeration<T>

Enumerator for an iterator.


Constructor Summary
J2CollectionHandlers.IteratorEnumerator(Iterator<T> iterator)
           
 
Method Summary
 boolean hasMoreElements()
           
 T nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J2CollectionHandlers.IteratorEnumerator

public J2CollectionHandlers.IteratorEnumerator(Iterator<T> iterator)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<T>

nextElement

public T nextElement()
Specified by:
nextElement in interface Enumeration<T>


Copyright © 2013. All Rights Reserved.