code: public boolean insert(E object) {
          storage.ensureCapacity(size + 1);
          storage.array[size++] = object;
          if (!upHeap()) {
              size--;
              return false;
          }
          return true;
      }
docs: Inserts an element into the queue.
  
  @param object
  the element to insert
  
  @return {@code true} if a new element has been inserted (i.e., the size has grown), {@code false} otherwise
  (i.e., an existing element has been replaced)