Class ImprovedIterator<T>

java.lang.Object
ch.njol.util.coll.iterator.ImprovedIterator<T>
All Implemented Interfaces:
Iterator<T>

@Deprecated(since="2.10.0", forRemoval=true) public class ImprovedIterator<T> extends Object implements Iterator<T>
Deprecated, for removal: This API element is subject to removal in a future version.
use Iterator instead.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    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
  • Constructor Details

    • ImprovedIterator

      public ImprovedIterator(Iterator<T> iter)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • hasNext

      public boolean hasNext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      hasNext in interface Iterator<T>
    • next

      @Nullable public T next()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      remove in interface Iterator<T>
    • current

      @Nullable public T current()
      Deprecated, for removal: This API element is subject to removal in a future version.