Package VASSAL.tools

Class ArrayIterator<T>

java.lang.Object
VASSAL.tools.ArrayIterator<T>
All Implemented Interfaces:
Iterator<T>

@Deprecated(since="2021-12-01", forRemoval=true) public class ArrayIterator<T> extends Object implements Iterator<T>
Deprecated, for removal: This API element is subject to removal in a future version.
An Iterator for arrays.
Since:
3.2.0
Author:
Joel Uckelman
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    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

    • ArrayIterator

      public ArrayIterator(T... array)
      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

      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>