edu.internet2.middleware.shibboleth.common.util
Class EventingMapBasedStorageService.PartitionEntryIterator

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.util.EventingMapBasedStorageService.PartitionEntryIterator
All Implemented Interfaces:
Iterator<KeyType>
Enclosing class:
EventingMapBasedStorageService<KeyType,ValueType>

public class EventingMapBasedStorageService.PartitionEntryIterator
extends Object
implements Iterator<KeyType>

An iterator over the entries of a partition of the storage service.


Field Summary
private  KeyType currentKey
          Current key within the iteration.
private  Iterator<KeyType> keysItr
          Iterator of keys within the partition.
private  String partition
          Partition on which we are operating.
 
Constructor Summary
EventingMapBasedStorageService.PartitionEntryIterator(String partition)
          Constructor.
 
Method Summary
 boolean hasNext()
          
 KeyType next()
          
 void remove()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

partition

private String partition
Partition on which we are operating.


keysItr

private Iterator<KeyType> keysItr
Iterator of keys within the partition.


currentKey

private KeyType currentKey
Current key within the iteration.

Constructor Detail

EventingMapBasedStorageService.PartitionEntryIterator

public EventingMapBasedStorageService.PartitionEntryIterator(String partition)
Constructor.

Parameters:
partition - partition upon which this iterator operates
Method Detail

hasNext

public boolean hasNext()

Specified by:
hasNext in interface Iterator<KeyType>

next

public KeyType next()

Specified by:
next in interface Iterator<KeyType>

remove

public void remove()

Specified by:
remove in interface Iterator<KeyType>


Copyright © 1999-2012. All Rights Reserved.