docs: private static <T extends Node> Map.Entry<CSNodeWrapper, T> findLastEntry(Map<CSNodeWrapper, T> map) {
          Map.Entry<CSNodeWrapper, T> nodeEntry = null;
  
          // Find the initial entry
          for (final Map.Entry<CSNodeWrapper, T> entry : map.entrySet()) {
              if (entry.getKey().getNextNode() == null) {
                  nodeEntry = entry;
                  break;
              }
          }
  
          return nodeEntry;
      }