Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.util
Class WeakHashMap.WeakEntrySet  view WeakHashMap.WeakEntrySet download WeakHashMap.WeakEntrySet.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byjava.util.WeakHashMap.WeakEntrySet
All Implemented Interfaces:
Collection, java.lang.Iterable, Set
Enclosing class:
WeakHashMap

private final class WeakHashMap.WeakEntrySet
extends AbstractSet

The entry set. There is only one instance per hashmap, namely theEntrySet. Note that the entry set may silently shrink, just like the WeakHashMap.


Constructor Summary
(package private) WeakHashMap.WeakEntrySet()
          Non-private constructor to reduce bytecode emitted.
 
Method Summary
 Iterator iterator()
          Returns an iterator for all entries.
 int size()
          Returns the size of this set.
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAllInternal, retainAll, retainAllInternal, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Constructor Detail

WeakHashMap.WeakEntrySet

WeakHashMap.WeakEntrySet()
Non-private constructor to reduce bytecode emitted.

Method Detail

size

public int size()
Returns the size of this set.

Specified by:
size in interface Set
Specified by:
size in class AbstractCollection

iterator

public Iterator iterator()
Returns an iterator for all entries.

Specified by:
iterator in interface Set
Specified by:
iterator in class AbstractCollection