More table services! Yay!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@527 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Table.java,v 1.3 2001/10/22 23:56:01 mdb Exp $
|
||||
// $Id: Table.java,v 1.4 2001/10/23 02:22:16 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.data;
|
||||
|
||||
@@ -181,6 +181,19 @@ public class Table
|
||||
_tconfig = (TableConfig)config;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if this table is equal to the supplied object (which
|
||||
* must be a table with the same table id).
|
||||
*/
|
||||
public boolean equals (Object other)
|
||||
{
|
||||
if (other != null && other instanceof Table) {
|
||||
return ((Table)other).tableId.equals(tableId);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates a string representation of this table instance.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user