/[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.15 by brawer, Tue Apr 30 22:20:50 2002 UTC revision 1.16 by ericb, Tue May 7 05:13:05 2002 UTC
# Line 506  public class WeakHashMap extends Abstrac Line 506  public class WeakHashMap extends Abstrac
506    private final WeakEntrySet theEntrySet;    private final WeakEntrySet theEntrySet;
507    
508    /**    /**
509     * The hash buckets.  These are linked lists.     * The hash buckets.  These are linked lists. Package visible for use in
510       * nested classes.
511     */     */
512    private WeakBucket[] buckets;    WeakBucket[] buckets;
513    
514    /**    /**
515     * Creates a new weak hash map with default load factor and default     * Creates a new weak hash map with default load factor and default
# Line 679  public class WeakHashMap extends Abstrac Line 680  public class WeakHashMap extends Abstrac
680    
681    /**    /**
682     * Removes a bucket from this hash map, if it wasn't removed before     * Removes a bucket from this hash map, if it wasn't removed before
683     * (e.g. one time through rehashing and one time through reference queue)     * (e.g. one time through rehashing and one time through reference queue).
684       * Package visible for use in nested classes.
685       *
686     * @param bucket the bucket to remove.     * @param bucket the bucket to remove.
687     */     */
688    private void internalRemove(WeakBucket bucket)    void internalRemove(WeakBucket bucket)
689    {    {
690      int slot = bucket.slot;      int slot = bucket.slot;
691      if (slot == -1)      if (slot == -1)

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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