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.Set<?> set) |
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) |
int |
size() |
void |
writeExternal(java.io.ObjectOutput out) |
public ArrayEnumeration(java.util.Vector elements)
public ArrayEnumeration(java.util.List list)
public ArrayEnumeration(java.util.Set<?> set)
public ArrayEnumeration()
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