krati.sos
Class ObjectStoreIterator<K,V>

java.lang.Object
  extended by krati.sos.ObjectStoreIterator<K,V>
All Implemented Interfaces:
Iterator<Map.Entry<K,V>>

public class ObjectStoreIterator<K,V>
extends Object
implements Iterator<Map.Entry<K,V>>


Constructor Summary
ObjectStoreIterator(Iterator<Map.Entry<byte[],byte[]>> rawKeyIterator, ObjectSerializer<K> keySerializer, ObjectSerializer<V> valSerializer)
           
 
Method Summary
 boolean hasNext()
           
 Map.Entry<K,V> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectStoreIterator

public ObjectStoreIterator(Iterator<Map.Entry<byte[],byte[]>> rawKeyIterator,
                           ObjectSerializer<K> keySerializer,
                           ObjectSerializer<V> valSerializer)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Map.Entry<K,V>>

next

public Map.Entry<K,V> next()
Specified by:
next in interface Iterator<Map.Entry<K,V>>

remove

public void remove()
Specified by:
remove in interface Iterator<Map.Entry<K,V>>


Copyright © 2011. All Rights Reserved.