It would be better to do for (Integer element; (element = queue.poll) != null;){ }. Because you don't want element to be in the scope after ...
確定! 回上一頁