ArrayList tmp = new ArrayList (); while (...) { tmp.add(new T(...)); } // This creates a new array and copies the element of 'tmp ...
確定! 回上一頁