code: public static void forEachCodePoint(String string, CodePointProcedure procedure)
      {
          int size = string.length();
          for (int i = 0; i < size; )
          {
              int codePoint = string.codePointAt(i);
              procedure.value(codePoint);
              i += Character.charCount(codePoint);
          }
      }
docs: For each int code point in the {@code string}, execute the {@link CodePointProcedure}.
  
  @since 7.0