com.threerings.nexus.io
Class Streamers.Streamer_Short

java.lang.Object
  extended by com.threerings.nexus.io.Streamers.Streamer_Short
All Implemented Interfaces:
Streamer<Short>
Enclosing class:
Streamers

public static class Streamers.Streamer_Short
extends Object
implements Streamer<Short>

A streamer for Short.


Constructor Summary
Streamers.Streamer_Short()
           
 
Method Summary
 Class<?> getObjectClass()
          Returns the concrete class handled by this streamer.
 Short readObject(Streamable.Input in)
          Instantiates an instance of the appropriate type using data read from the supplied input.
 void writeObject(Streamable.Output out, Short 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

Streamers.Streamer_Short

public Streamers.Streamer_Short()
Method Detail

getObjectClass

public Class<?> getObjectClass()
Description copied from interface: Streamer
Returns the concrete class handled by this streamer.

Specified by:
getObjectClass in interface Streamer<Short>

writeObject

public void writeObject(Streamable.Output out,
                        Short value)
Description copied from interface: Streamer
Writes the supplied instance to the supplied output.

Specified by:
writeObject in interface Streamer<Short>

readObject

public Short readObject(Streamable.Input in)
Description copied from interface: Streamer
Instantiates an instance of the appropriate type using data read from the supplied input.

Specified by:
readObject in interface Streamer<Short>


Copyright © 2013. All Rights Reserved.