Convert Array to Queue

Viewed 19657

I wish to create a Queue (or Stack) in java using all the elements from an array. Is there some 'nice' way of doing this, i.e in one line without a loop over the array?

2 Answers
Related