code: public static <T> void forEach(Iterator<T> iterator, Procedure1<? super T> procedure) {
  		if (procedure == null)
  			throw new NullPointerException("procedure");
  		while(iterator.hasNext()) {
  			procedure.apply(iterator.next());
  		}
  	}
docs: Applies {@code procedure} for each element of the given iterator.
  
  @param iterator
  the iterator. May not be <code>null</code>.
  @param procedure
  the procedure. May not be <code>null</code>.