org.apache.openejb.client
Class ArrayEnumeration
java.lang.Object
org.apache.openejb.client.ArrayEnumeration
- All Implemented Interfaces:
- Externalizable, Serializable, Enumeration
public final class ArrayEnumeration
- extends Object
- implements Enumeration, Externalizable
- Version:
- $Revision: 450758 $ $Date: 2006-09-28 08:40:18 +0000 (Thu, 28 Sep 2006) $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayEnumeration
public ArrayEnumeration(Vector elements)
ArrayEnumeration
public ArrayEnumeration(List list)
ArrayEnumeration
public ArrayEnumeration()
get
public Object get(int index)
set
public void set(int index,
Object o)
size
public int size()
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement in interface Enumeration
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.