Class ForSupport<T>

  • All Implemented Interfaces:
    java.lang.Iterable<ForSupport<T>>

    public class ForSupport<T>
    extends java.lang.Object
    implements java.lang.Iterable<ForSupport<T>>
    • Constructor Summary

      Constructors 
      Constructor Description
      ForSupport​(java.util.Iterator<T> iterator)  
    • Constructor Detail

      • ForSupport

        public ForSupport​(java.util.Iterator<T> iterator)
    • Method Detail

      • of

        public static <T> ForSupport<T> of​(java.lang.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 java.util.Iterator<ForSupport<T>> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<T>