📜  kotlin deque - Kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:33.402000             🧑  作者: Mango

代码示例3
fun main() {
  val studentQueue: Deque = LinkedList(mutableListOf("Agni", "Bob", "Chris", "David", "Emily"))
  println(studentQueue) 
  studentQueue.add("Felix")
}