org.springframework.osgi.mock
Class ArrayEnumerator
java.lang.Object
org.springframework.osgi.mock.ArrayEnumerator
- All Implemented Interfaces:
- Enumeration
public class ArrayEnumerator
- extends Object
- implements Enumeration
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(Object[] source)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
Copyright © 2006-2009 Spring Framework. All Rights Reserved.