BlockAliasMap.ImmutableIterator (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.common.blockaliasmap, class: BlockAliasMap, class: ImmutableIterator

Package org.apache.hadoop.hdfs.server.common.blockaliasmap

# 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>

public abstract class BlockAliasMap.ImmutableIterator extends Object implements Iterator<T>
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 Summary

  Constructors
  Constructor
  Description
  `ImmutableIterator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `remove()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface java.util.Iterator

  `forEachRemaining, hasNext, next`

- ## Constructor Details

  - ### ImmutableIterator

    public ImmutableIterator()

- ## Method Details

  - ### remove

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