1 |
/* IdentityHashMap.java -- a class providing a hashtable data structure, |
/* IdentityHashMap.java -- a class providing a hashtable data structure, |
2 |
mapping Object --> Object, which uses object identity for hashing. |
mapping Object --> Object, which uses object identity for hashing. |
3 |
Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. |
Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
6 |
|
|
769 |
* the general contract of Map.Entry, and is probably unsuitable for |
* the general contract of Map.Entry, and is probably unsuitable for |
770 |
* comparison to normal maps; but it works among other IdentityHashMaps. |
* comparison to normal maps; but it works among other IdentityHashMaps. |
771 |
* |
* |
772 |
* @author Eric Blake <ebb9@email.byu.edu> |
* @author Eric Blake (ebb9@email.byu.edu) |
773 |
*/ |
*/ |
774 |
private final class IdentityEntry<EK,EV> implements Map.Entry<EK,EV> |
private final class IdentityEntry<EK,EV> implements Map.Entry<EK,EV> |
775 |
{ |
{ |