org.springframework.osgi.mock
Class ArrayEnumerator<E>
java.lang.Object
org.springframework.osgi.mock.ArrayEnumerator<E>
- All Implemented Interfaces:
- Enumeration<E>
public class ArrayEnumerator<E>
- extends Object
- implements Enumeration<E>
Simple enumeration mock backed by an array of objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayEnumerator
public ArrayEnumerator(E[] source)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration<E>
nextElement
public E nextElement()
- Specified by:
nextElement
in interface Enumeration<E>
Copyright © 2006-2011 Spring Framework. All Rights Reserved.