mirai-core / net.mamoe.mirai.utils / kotlin.sequences.Sequence

Extensions for kotlin.sequences.Sequence

toLockFreeLinkedList

构建链表结构然后转为 LockFreeLinkedList

fun <E> Sequence<E>.toLockFreeLinkedList(): LockFreeLinkedList<E>