kotlin linked list code example
Example: kotlin collection to linked list
// Uses Java's LinkedList
val linkedList = someCollection.toCollection(java.util.LinkedList())
// Uses Java's LinkedList
val linkedList = someCollection.toCollection(java.util.LinkedList())