作者costbook (antitheist)
看板java
标题[问题] 使用Vector遇到 warning: unchecked
时间Tue Oct 31 09:04:05 2006
主要程式码:
Vector alist=new Vector();
alist.add(strIn.substring(0,i));
讯息:
warning: [unchecked] unchecked call to add(E) as a
member of the raw type java.util.Vector
alist.add(strIn.substring(0,i));
请问这是为什麽?
--
我认识的人愈多,我就愈喜欢狗
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.139.160.210