Changeset 4178


Ignore:
Timestamp:
10/03/03 00:21:52 (19 years ago)
Author:
piso
Message:

hashCode()

File:
1 edited

Legend:

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

    r3929 r4178  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: Cons.java,v 1.29 2003-09-20 17:02:04 piso Exp $
     5 * $Id: Cons.java,v 1.30 2003-10-03 00:21:52 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    118118    {
    119119        return cdr.cdr();
     120    }
     121
     122    public final int hashCode()
     123    {
     124        return car.hashCode() ^ cdr.hashCode();
    120125    }
    121126
Note: See TracChangeset for help on using the changeset viewer.