public final class ArrayEnumeration
extends java.lang.Object
implements java.util.Enumeration, java.io.Externalizable
Constructor and Description |
---|
ArrayEnumeration() |
ArrayEnumeration(java.util.List list) |
ArrayEnumeration(java.util.Vector elements) |
Modifier and Type | Method and Description |
---|---|
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) |
void |
setMetaData(ProtocolMetaData metaData) |
int |
size() |
void |
writeExternal(java.io.ObjectOutput out) |
public ArrayEnumeration(java.util.Vector elements)
public ArrayEnumeration(java.util.List list)
public ArrayEnumeration()
public void setMetaData(ProtocolMetaData metaData)
public java.lang.Object get(int index)
public void set(int index, java.lang.Object o)
public int size()
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException