net.sf.fikin.pojostate.util
Class ArrayEnumeration
java.lang.Object
net.sf.fikin.pojostate.util.ArrayEnumeration
- All Implemented Interfaces:
- java.util.Enumeration
public class ArrayEnumeration
- extends java.lang.Object
- implements java.util.Enumeration
Enumerate over an array of objects
created on Apr 20, 2005
- Since:
- Version:
- $Revision: 1.1 $
- Author:
- fiykov
Field Summary |
protected java.lang.Object[] |
array
|
protected int |
index
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
array
protected java.lang.Object[] array
index
protected int index
ArrayEnumeration
public ArrayEnumeration(java.lang.Object[] arr)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface java.util.Enumeration
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interface java.util.Enumeration
getSize
public int getSize()
getArray
public java.lang.Object[] getArray()
Copyright © 2005 Nikolay Fiykov. All Rights Reserved.