Class BlockAliasMap.ImmutableIterator
java.lang.Object
org.apache.hadoop.hdfs.server.common.blockaliasmap.BlockAliasMap.ImmutableIterator
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
- BlockAliasMap<T extends BlockAlias>
ImmutableIterator is an Iterator that does not support the remove
operation. This could inherit
Enumeration but Iterator
is supported by more APIs and Enumeration's javadoc even suggests using
Iterator instead.-
Constructor Details
-
ImmutableIterator
public ImmutableIterator()
-
-
Method Details
-
remove
public void remove()- Specified by:
removein interfaceIterator<T extends BlockAlias>
-