Let the type system know that we know that we don't know what kind of

comparable we're dealing with.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@691 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2008-07-30 14:00:23 +00:00
parent 18608763ea
commit aae3a0152a
2 changed files with 7 additions and 7 deletions
@@ -63,7 +63,7 @@ public class TableLobbyObject extends LobbyObject
}
// from interface TableLobbyObject
public void removeFromTables (Comparable key)
public void removeFromTables (Comparable<?> key)
{
removeFromTableSet(key);
}
@@ -33,35 +33,35 @@ public interface TableLobbyObject
* Returns a reference to the distributed set instance that will be
* holding the tables.
*/
public DSet getTables ();
DSet getTables ();
/**
* Adds the supplied table instance to the tables set (using the
* appropriate distributed object mechanisms).
*/
public void addToTables (Table table);
void addToTables (Table table);
/**
* Updates the value of the specified table instance in the tables
* distributed set (using the appropriate distributed object
* mechanisms).
*/
public void updateTables (Table table);
void updateTables (Table table);
/**
* Removes the table instance that matches the specified key from the
* tables set (using the appropriate distributed object mechanisms).
*/
public void removeFromTables (Comparable key);
void removeFromTables (Comparable<?> key);
/**
* Returns a reference to the table service configured in this object.
*/
public TableMarshaller getTableService ();
TableMarshaller getTableService ();
/**
* Configures the table service that clients should use to communicate table requests back to
* the table manager handling these tables.
*/
public void setTableService (TableMarshaller service);
void setTableService (TableMarshaller service);
}