OSDN Git Service

* java/util/IdentityHashMap.java (containsKey): Use getHash.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Sep 2001 16:49:13 +0000 (16:49 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Sep 2001 16:49:13 +0000 (16:49 +0000)
commitc7eb31c1df5ae341b484d999d7926701f6070a93
tree9de64cbb27269963917f1df98d09816e61b3e110
parent1785b647c73cfe054bd95725c39ac711dc324852
* java/util/IdentityHashMap.java (containsKey): Use getHash.
(get): Likewise.
(put): Likewise.
(remove): Likewise.
(getHash): New method.
(tombstone, emptyslot): Now static final.
(put): Correctly determine when to rehash, and correctly rehash.
(containsKey, remove): Test against table length with `>='.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45841 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/java/util/IdentityHashMap.java