net.infonode.util
public class Enum extends Object implements Serializable, Writable
Version: $Revision: 1.8 $ $Date: 2005/02/16 11:28:14 $
| Constructor Summary | |
|---|---|
| protected | Enum(int value, String name) |
| Method Summary | |
|---|---|
| protected static Object | decode(Class cl, ObjectInputStream in) |
| String | getName()
Return the name of this enum value.
|
| protected static Object | getObject(Class cl, int value) |
| int | getValue()
Returns the integer identifier for this enum value.
|
| protected Object | readResolve() |
| String | toString() |
| void | write(ObjectOutputStream out) |
Returns: the name of this enum value
Returns: the integer identifier for this enum value