com.atlassian.user.util
Class EnumerationAdaptor

java.lang.Object
  extended bycom.atlassian.user.util.EnumerationAdaptor
All Implemented Interfaces:
java.util.Iterator

public class EnumerationAdaptor
extends java.lang.Object
implements java.util.Iterator

Wraps an enumeration with an iterator interface


Constructor Summary
EnumerationAdaptor(java.util.Enumeration enumeration)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationAdaptor

public EnumerationAdaptor(java.util.Enumeration enumeration)
Method Detail

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator


Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.