krati.sos
Class ObjectStoreKeyIterator<K>

java.lang.Object
  extended by krati.sos.ObjectStoreKeyIterator<K>
All Implemented Interfaces:
Iterator<K>

public class ObjectStoreKeyIterator<K>
extends Object
implements Iterator<K>


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

Constructor Detail

ObjectStoreKeyIterator

public ObjectStoreKeyIterator(Iterator<byte[]> rawKeyIterator,
                              ObjectSerializer<K> keySerializer)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<K>

next

public K next()
Specified by:
next in interface Iterator<K>

remove

public void remove()
Specified by:
remove in interface Iterator<K>


Copyright © 2011. All Rights Reserved.