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:
Michael Bayne
2003-02-26 17:54:56 +00:00
parent 5ed8637ecf
commit 56b0012782
11 changed files with 26 additions and 26 deletions
@@ -1,5 +1,5 @@
//
// $Id: SpotSceneObject.java,v 1.2 2003/02/13 21:55:22 mdb Exp $
// $Id: SpotSceneObject.java,v 1.3 2003/02/26 17:54:56 mdb Exp $
package com.threerings.whirled.spot.data;
@@ -39,7 +39,7 @@ public class SpotSceneObject extends SceneObject
* the <code>occupantLocs</code> set. The set will not change until the
* event is actually propagated through the system.
*/
public void removeFromOccupantLocs (Object key)
public void removeFromOccupantLocs (Comparable key)
{
requestEntryRemove(OCCUPANT_LOCS, key);
}
@@ -85,7 +85,7 @@ public class SpotSceneObject extends SceneObject
* the <code>clusters</code> set. The set will not change until the
* event is actually propagated through the system.
*/
public void removeFromClusters (Object key)
public void removeFromClusters (Comparable key)
{
requestEntryRemove(CLUSTERS, key);
}