org.springframework.osgi.mock
Class ArrayEnumerator

java.lang.Object
  extended by 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.


Constructor Summary
ArrayEnumerator(Object[] source)
           
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayEnumerator

public ArrayEnumerator(Object[] source)
Method Detail

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.