IdentityHashMap.java (containsKey): Use getHash.
authorTom Tromey <tromey@redhat.com>
Thu, 27 Sep 2001 16:49:13 +0000 (16:49 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 27 Sep 2001 16:49:13 +0000 (16:49 +0000)
commit0caade1b544071ecef4601f2dbe786496677ead8
tree9de64cbb27269963917f1df98d09816e61b3e110
parentc9e7a60950592e24cc380f0237bea7e652b9f3ce
IdentityHashMap.java (containsKey): Use getHash.

* 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 `>='.

From-SVN: r45841
libjava/ChangeLog
libjava/java/util/IdentityHashMap.java