dk.itu.smds.torusman
Class Scores
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable
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
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 |
Scores
public Scores()
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.