类 UnmodifiableIterator<E>

  • 类型参数:
    E - the type of elements returned by this iterator
    所有已实现的接口:
    java.util.Iterator<E>

    public class UnmodifiableIterator<E>
    extends ReadOnlyIterator<E>
    Unmodifiable Iterator
    从以下版本开始:
    1.0.0
    作者:
    Mercy
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void forEachRemaining​(java.util.function.Consumer<? super E> action)  
      boolean hasNext()  
      E next()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • UnmodifiableIterator

        public UnmodifiableIterator​(java.util.Iterator<E> delegate)
    • 方法详细资料

      • hasNext

        public boolean hasNext()
      • next

        public E next()
      • forEachRemaining

        public void forEachRemaining​(java.util.function.Consumer<? super E> action)