wt.util
Class Cache.EntrySet.EntryIterator

java.lang.Object
  extended bywt.util.Cache.EntrySet.EntryIterator
All Implemented Interfaces:
Iterator
Enclosing class:
Cache.EntrySet

final class Cache.EntrySet.EntryIterator
extends Object
implements Iterator

The iterator is not synchronized per Collections convention. Callers are expected to manage their own synchronization over the iterator


Field Summary
(package private)  int cursor
           
(package private)  int expectedModCount
           
(package private)  int last
           
 
Constructor Summary
(package private) Cache.EntrySet.EntryIterator()
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
protected  Map.Entry nextEntry()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedModCount

int expectedModCount

cursor

int cursor

last

int last
Constructor Detail

Cache.EntrySet.EntryIterator

Cache.EntrySet.EntryIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

nextEntry

protected Map.Entry nextEntry()

remove

public void remove()
Specified by:
remove in interface Iterator