org.terracotta.offheapstore.concurrent
Class AbstractConcurrentOffHeapMap.AggregateIterator<T>

java.lang.Object
  extended by org.terracotta.offheapstore.concurrent.AbstractConcurrentOffHeapMap.AggregateIterator<T>
All Implemented Interfaces:
Iterator<T>
Enclosing class:
AbstractConcurrentOffHeapMap<K,V>

protected abstract class AbstractConcurrentOffHeapMap.AggregateIterator<T>
extends Object
implements Iterator<T>


Field Summary
protected  Iterator<T> currentIterator
           
protected  Iterator<Map<K,V>> listIterator
           
 
Constructor Summary
AbstractConcurrentOffHeapMap.AggregateIterator()
           
 
Method Summary
protected abstract  Iterator<T> getNextIterator()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listIterator

protected final Iterator<Map<K,V>> listIterator

currentIterator

protected Iterator<T> currentIterator
Constructor Detail

AbstractConcurrentOffHeapMap.AggregateIterator

public AbstractConcurrentOffHeapMap.AggregateIterator()
Method Detail

getNextIterator

protected abstract Iterator<T> getNextIterator()

hasNext

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

next

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

remove

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


Copyright © 2016. All rights reserved.