Changeset 5035


Ignore:
Timestamp:
12/09/03 19:04:59 (18 years ago)
Author:
dmcnaught
Message:

Overrode sxhash() to make EQUAL and EQUALP hash tables work properly for

Java objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/JavaObject.java

    r4977 r5035  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: JavaObject.java,v 1.10 2003-12-05 02:45:44 piso Exp $
     5 * $Id: JavaObject.java,v 1.11 2003-12-09 19:04:59 dmcnaught Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    6666    }
    6767
     68    public Fixnum sxhash()
     69    {
     70        return new Fixnum(obj.hashCode() & 0x7ffffff);
     71    }
     72   
    6873    public String toString()
    6974    {
Note: See TracChangeset for help on using the changeset viewer.