At 5:52 PM +0100 7/22/02, Alberto Manuel Brandão Simões wrote: >Dan, can we create this new vtable method? returning an integer (long >integer)... with name hashValue, or asHash.. or something else.
Yep. Call it id and have it return an INTVAL. >On Mon, 2002-07-22 at 17:07, Leon Brocard wrote: >> Alberto Manuel Brandão Simões sent the following bits through the ether: >> >> > This means one more function to the vtable! >> >> FWIW every object in Java must implement a hashCode method: > > http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode() -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk