docs: public Activation dequeue() throws NoSuchElementException {
          if ( isEmpty() ) {
              return null;
          }
  
          final Activation result = this.elements[1];
          dequeue(result.getQueueIndex());
  
          return result;
      }