Use Comparable for the to be removed distributed set key.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2290 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: TableLobbyObject.dobj,v 1.3 2002/07/23 05:54:52 mdb Exp $
|
||||
// $Id: TableLobbyObject.dobj,v 1.4 2003/02/26 17:54:56 mdb Exp $
|
||||
|
||||
package com.threerings.micasa.lobby.table;
|
||||
|
||||
@@ -33,7 +33,7 @@ public class TableLobbyObject
|
||||
}
|
||||
|
||||
// documentation inherited from interface
|
||||
public void removeFromTables (Object key)
|
||||
public void removeFromTables (Comparable key)
|
||||
{
|
||||
removeFromTableSet(key);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: TableLobbyObject.java,v 1.5 2002/07/23 05:54:52 mdb Exp $
|
||||
// $Id: TableLobbyObject.java,v 1.6 2003/02/26 17:54:56 mdb Exp $
|
||||
|
||||
package com.threerings.micasa.lobby.table;
|
||||
|
||||
@@ -36,7 +36,7 @@ public class TableLobbyObject
|
||||
}
|
||||
|
||||
// documentation inherited from interface
|
||||
public void removeFromTables (Object key)
|
||||
public void removeFromTables (Comparable key)
|
||||
{
|
||||
removeFromTableSet(key);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ public class TableLobbyObject
|
||||
* the <code>tableSet</code> set. The set will not change until the
|
||||
* event is actually propagated through the system.
|
||||
*/
|
||||
public void removeFromTableSet (Object key)
|
||||
public void removeFromTableSet (Comparable key)
|
||||
{
|
||||
requestEntryRemove(TABLE_SET, key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user