@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) |
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.