|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.nexus.io.Streamers.Streamer_Enum<T>
public static class Streamers.Streamer_Enum<T extends Enum<T>>
A streamer for Enum classes.
| Constructor Summary | |
|---|---|
Streamers.Streamer_Enum(Class<T> eclass)
|
|
| Method Summary | |
|---|---|
Class<?> |
getObjectClass()
Returns the concrete class handled by this streamer. |
T |
readObject(Streamable.Input in)
Instantiates an instance of the appropriate type using data read from the supplied input. |
void |
writeObject(Streamable.Output out,
T value)
Writes the supplied instance to the supplied output. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Streamers.Streamer_Enum(Class<T> eclass)
| Method Detail |
|---|
public Class<?> getObjectClass()
Streamer
getObjectClass in interface Streamer<T extends Enum<T>>
public void writeObject(Streamable.Output out,
T value)
Streamer
writeObject in interface Streamer<T extends Enum<T>>public T readObject(Streamable.Input in)
Streamer
readObject in interface Streamer<T extends Enum<T>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||