Class ForSupport<T>

java.lang.Object
gg.jte.support.ForSupport<T>
All Implemented Interfaces:
Iterable<ForSupport<T>>

public class ForSupport<T> extends Object implements Iterable<ForSupport<T>>
  • Constructor Details

    • ForSupport

      public ForSupport(Iterator<T> iterator)
  • Method Details

    • of

      public static <T> ForSupport<T> of(Iterable<T> iterable)
    • of

      public static <T> ForSupport<T> of(T[] array)
    • isLast

      public boolean isLast()
    • isFirst

      public boolean isFirst()
    • getIndex

      public int getIndex()
    • get

      public T get()
    • iterator

      public Iterator<ForSupport<T>> iterator()
      Specified by:
      iterator in interface Iterable<T>