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