com.sun.jini.norm
Class ClientLeaseMapWrapper.EntryIterator
java.lang.Object
com.sun.jini.norm.ClientLeaseMapWrapper.EntryIterator
- All Implemented Interfaces:
- Iterator
- Enclosing class:
- ClientLeaseMapWrapper
private final class ClientLeaseMapWrapper.EntryIterator
- extends Object
- implements Iterator
An implementation of Iterator backed by the ClientMapWrapper's mappings,
which are from wrapperMap's values to clientLeaseMap
Field Summary |
private Iterator |
iter
Iterator over the wrapperMap values |
private Lease |
last
Lease associated with the last value returned by next() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iter
private final Iterator iter
- Iterator over the wrapperMap values
last
private Lease last
- Lease associated with the last value returned by next()
ClientLeaseMapWrapper.EntryIterator
public ClientLeaseMapWrapper.EntryIterator()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.