org.apache.accumulo.core.client.mock
Class IteratorAdapter

java.lang.Object
  extended by org.apache.accumulo.core.client.mock.IteratorAdapter
All Implemented Interfaces:
Iterator<Map.Entry<Key,Value>>

public class IteratorAdapter
extends Object
implements Iterator<Map.Entry<Key,Value>>


Constructor Summary
IteratorAdapter(SortedKeyValueIterator<Key,Value> inner)
           
 
Method Summary
 boolean hasNext()
           
 Map.Entry<Key,Value> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorAdapter

public IteratorAdapter(SortedKeyValueIterator<Key,Value> inner)
Method Detail

hasNext

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

next

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

remove

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


Copyright © 2015 Apache Accumulo Project. All rights reserved.