org.apache.openejb.client
Class ArrayEnumeration

java.lang.Object
  extended by org.apache.openejb.client.ArrayEnumeration
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.util.Enumeration

public final class ArrayEnumeration
extends java.lang.Object
implements java.util.Enumeration, java.io.Externalizable

Version:
$Revision: 450758 $ $Date: 2006-09-28 10:40:18 +0200 (Do, 28. Sep 2006) $
See Also:
Serialized Form

Constructor Summary
ArrayEnumeration()
           
ArrayEnumeration(java.util.List list)
           
ArrayEnumeration(java.util.Vector elements)
           
 
Method Summary
 java.lang.Object get(int index)
           
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 void readExternal(java.io.ObjectInput in)
           
 void set(int index, java.lang.Object o)
           
 int size()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayEnumeration

public ArrayEnumeration(java.util.Vector elements)

ArrayEnumeration

public ArrayEnumeration(java.util.List list)

ArrayEnumeration

public ArrayEnumeration()
Method Detail

get

public java.lang.Object get(int index)

set

public void set(int index,
                java.lang.Object o)

size

public int size()

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

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.