我希望使用数组中的所有元素在java中创建一个Queue(或Stack).是否有一些'好'的方法,即在一行没有数组循环?
java data-structures
data-structures ×1
java ×1