fun <E> LockFreeLinkedList<E>.toMutableSet(): MutableSet<E>
Collect all the elements into a MutableSet.