org.jasig.portal.utils
Class ArrayEnumerator<T>

java.lang.Object
  extended by org.jasig.portal.utils.ArrayEnumerator<T>
All Implemented Interfaces:
Enumeration<T>

public class ArrayEnumerator<T>
extends Object
implements Enumeration<T>

Implements the Enumeration interface over an Array

Version:
$Revision$
Author:
Eric Dalquist

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

Constructor Detail

ArrayEnumerator

public ArrayEnumerator(T[] array)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<T>

nextElement

public T nextElement()
Specified by:
nextElement in interface Enumeration<T>


Copyright © 2010 Jasig. All Rights Reserved.