|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.util.Enum
Base class for enum classes. Each enum value contains a name and an integer identifier.
Method Summary | |
String |
getName()
Return the name of this enum value. |
int |
getValue()
Returns the integer identifier for this enum value. |
String |
toString()
|
void |
write(ObjectOutputStream out)
Writes this object to an ObjectOutputStream. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public int getValue()
public String getName()
public String toString()
public void write(ObjectOutputStream out) throws IOException
Writable
write
in interface Writable
out
- the stream
IOException
- if there is a stream error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |