code: @Override
      synchronized void remove(PageWrapper page) {
          super.remove(page);
          if (this.incompleteNewPageOffset == page.getOffset()) {
              this.incompleteNewPageOffset = PagePointer.NO_OFFSET;
          }
  
          this.deletedPageOffsets.add(page.getOffset());
          page.setOffset(PagePointer.NO_OFFSET);
      }
docs: Removes the given PageWrapper from this PageCollection.
  
  @param page The PageWrapper to remove. This page will have its offset set to PagePointer.NO_OFFSET.