dk.itu.smds.torusman
Class Scores

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by dk.itu.smds.torusman.Scores
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class Scores
extends java.util.Hashtable

A table of scores maps a team ID to its points.

See Also:
Serialized Form

Constructor Summary
Scores()
           
 
Method Summary
 void deserialize(java.io.DataInputStream in)
          Deserialize this object from a stream.
 void serialize(java.io.DataOutputStream out)
          Serialize this object to a stream.
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Scores

public Scores()
Method Detail

serialize

public void serialize(java.io.DataOutputStream out)
               throws java.io.IOException
Serialize this object to a stream.

Parameters:
out - the out
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

deserialize

public void deserialize(java.io.DataInputStream in)
                 throws java.io.IOException
Deserialize this object from a stream.

Parameters:
in - the in
Throws:
java.io.IOException - Signals that an I/O exception has occurred.