code: public static <T> void forEach(T[] objectArray, int from, int to, Procedure<? super T> procedure)
      {
          if (objectArray == null)
          {
              throw new IllegalArgumentException("Cannot perform a forEach on null");
          }
  
          ListIterate.rangeCheck(from, to, objectArray.length);
          InternalArrayIterate.forEachWithoutChecks(objectArray, from, to, procedure);
      }
docs: Iterates over the section of the list covered by the specified inclusive indexes.  The indexes are
  both inclusive.