mirai-core / net.mamoe.mirai.utils / toMutableSet

toMutableSet

fun <E> LockFreeLinkedList<E>.toMutableSet(): MutableSet<E>

Collect all the elements into a MutableSet.