docs: public void trimToSize()
      {
          if (elements.length != size && elements.length > INITIAL_CAPACITY)
          {
              elements = Arrays.copyOf(elements, Math.max(INITIAL_CAPACITY, size));
          }
      }