|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.WeakHashMap.HashIterator java.util.WeakHashMap.EntryIterator
Field Summary | |
(package private) Object |
currentKey
Strong reference needed to avoid disappearance of key between nextEntry() and any use of the entry |
(package private) WeakHashMap.Entry |
entry
|
(package private) int |
expectedModCount
|
(package private) int |
index
|
(package private) WeakHashMap.Entry |
lastReturned
|
(package private) Object |
nextKey
Strong reference needed to avoid disappearance of key between hasNext and next |
Constructor Summary | |
private |
WeakHashMap.EntryIterator()
|
Method Summary | |
boolean |
hasNext()
Returns true if the iteration has more elements. |
Object |
next()
Returns the next element in the iteration. |
protected WeakHashMap.Entry |
nextEntry()
The common parts of next() across different types of iterators |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int index
WeakHashMap.Entry entry
WeakHashMap.Entry lastReturned
int expectedModCount
Object nextKey
Object currentKey
Constructor Detail |
private WeakHashMap.EntryIterator()
Method Detail |
public Object next()
Iterator
public boolean hasNext()
Iterator
hasNext
in interface Iterator
protected WeakHashMap.Entry nextEntry()
public void remove()
Iterator
remove
in interface Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |