/[classpath]/classpath/java/util/WeakHashMap.java
ViewVC logotype

Diff of /classpath/java/util/WeakHashMap.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by mark, Tue Jan 22 22:27:01 2002 UTC revision 1.11 by mark, Sat Feb 9 14:36:42 2002 UTC
# Line 1  Line 1 
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    
# Line 483  public class WeakHashMap extends Abstrac Line 483  public class WeakHashMap extends Abstrac
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);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26