@InterfaceAudience.Private class BlockCachesIterator extends Object implements Iterator<CachedBlock>
Modifier and Type | Field and Description |
---|---|
(package private) BlockCache[] |
bcs |
(package private) Iterator<CachedBlock> |
current |
(package private) int |
index |
Constructor and Description |
---|
BlockCachesIterator(BlockCache[] blockCaches) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
CachedBlock |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
int index
final BlockCache[] bcs
Iterator<CachedBlock> current
BlockCachesIterator(BlockCache[] blockCaches)
public boolean hasNext()
hasNext
in interface Iterator<CachedBlock>
public CachedBlock next()
next
in interface Iterator<CachedBlock>
public void remove()
remove
in interface Iterator<CachedBlock>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.