docs: public final void splitTo(AbstractNode<E> newNode, List<E> assignmentsToFirst, List<E> assignmentsToSecond) {
      assert (isLeaf() == newNode.isLeaf());
      deleteAllEntries();
      StringBuilder msg = LoggingConfiguration.DEBUG ? new StringBuilder(1000) : null;
  
      // assignments to this node
      for(E entry : assignmentsToFirst) {
        if(msg != null) {
          msg.append("n_").append(getPageID()).append(' ').append(entry).append('\n');
        }
        addEntry(entry);
      }
  
      // assignments to the new node
      for(E entry : assignmentsToSecond) {
        if(msg != null) {
          msg.append("n_").append(newNode.getPageID()).append(' ').append(entry).append('\n');
        }
        newNode.addEntry(entry);
      }
      if(msg != null) {
        Logging.getLogger(this.getClass()).fine(msg.toString());
      }
    }