public static <T> Iterator<T> iterator(T first, T second) {
        return ArrayIterator.of(first, second);
    }
public static < T > Iterator < T > iterator ( T first , T second ) { return ArrayIterator . of ( first , second ) ; }
Creates an iterator from the passed values.
@param <T> the elements parameter type
@param first the first element
@param second the second element
@return an iterator.