code: public void forEachOrderedInt(final IntConsumer consumer)
      {
          for (@DoNotSub int i = 0; i < size; i++)
          {
              consumer.accept(elements[i]);
          }
      }
docs: For each element in order provide the int value to a {@link IntConsumer}.
  
  @param consumer for each element.