com.atlassian.user.util
Class EnumerationAdaptor<T>
java.lang.Object
com.atlassian.user.util.EnumerationAdaptor<T>
- All Implemented Interfaces:
- Iterator<T>
public class EnumerationAdaptor<T>
- extends Object
- implements Iterator<T>
Wraps an enumeration with an iterator interface
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumerationAdaptor
public EnumerationAdaptor(Enumeration<T> enumeration)
remove
public void remove()
- Specified by:
remove in interface Iterator<T>
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<T>
next
public T next()
- Specified by:
next in interface Iterator<T>
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.