docs: @Override
      public E element() {
          @SuppressWarnings("unchecked") E result = (E) elements[head];
          if (result == null)
              throw new NoSuchElementException();
          return result;
      }