static <K> Node<K> untreeify(Node<K> b) {
    Node<K> hd = null, tl = null;
    for (Node<K> q = b; q != null; q = q.next) {
      Node<K> p = new Node<>(q.hash, q.key, null);
      if (tl == null) {
        hd = p;
      } else {
        tl.next = p;
      }
      tl = p;
    }
    return hd;
  }
Returns a list on non-TreeNodes replacing those in given list.
geode-core/src/main/java/org/apache/geode/internal/concurrent/CompactConcurrentHashSet2.java