code: public static <E> Iterator<E> cycle(E... array) {
          return new CyclicIterator<E>(ArrayIterator.of(array));
      }
docs: Creates an infinite iterator that issues elements from the parameter cyclicly.
  
  @param <E> the element type
  @param array the array to cycle
  @return an iterator that cyclicly returns the elements from the arguments