com.atlassian.user.search.page
Class MockNamingEnumeration<T>
java.lang.Object
com.atlassian.user.search.page.MockNamingEnumeration<T>
- All Implemented Interfaces:
- Enumeration<T>, NamingEnumeration<T>
public class MockNamingEnumeration<T>
- extends Object
- implements NamingEnumeration<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockNamingEnumeration
public MockNamingEnumeration(Collection<? extends T> collection)
MockNamingEnumeration
public MockNamingEnumeration(Iterator<T> iterator)
close
public void close()
throws NamingException
- Specified by:
close in interface NamingEnumeration<T>
- Throws:
NamingException
hasMore
public boolean hasMore()
throws NamingException
- Specified by:
hasMore in interface NamingEnumeration<T>
- Throws:
NamingException
next
public T next()
throws NamingException
- Specified by:
next in interface NamingEnumeration<T>
- Throws:
NamingException
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface Enumeration<T>
nextElement
public T nextElement()
- Specified by:
nextElement in interface Enumeration<T>
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.