1 |
/* java.util.WeakHashMap -- a hashtable that keeps only weak references |
/* java.util.WeakHashMap -- a hashtable that keeps only weak references |
2 |
to its keys, allowing the virtual machine to reclaim them |
to its keys, allowing the virtual machine to reclaim them |
3 |
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
6 |
|
|
483 |
*/ |
*/ |
484 |
WeakEntry getEntry() |
WeakEntry getEntry() |
485 |
{ |
{ |
486 |
final Object key = get(); |
final Object key = this.get(); |
487 |
if (key == null) |
if (key == null) |
488 |
return null; |
return null; |
489 |
return new WeakEntry(key); |
return new WeakEntry(key); |