isEmpty ()) { in.push(out.pop()); } in.push(e); } public boolean isEmpty() { return in.size()==0&&out.size()==0; } //出队 public E poll() ...
確定! 回上一頁