Re: newbie question : List vs. ArrayList vs. []

2003-10-21 Thread Leonardo Mena
At least until Generics comes to life in JDK 1.5... - Original Message - From: "Navneet Joneja" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 9:39 PM Subject: RE: newbie question : List vs. ArrayList vs. [] > Speaking as a webservic

RE: newbie question : List vs. ArrayList vs. [ ]

2003-10-21 Thread Navneet Joneja
that easy to work with. - Navneet -Original Message- From: Rumpa Giri [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 4:09 PM To: '[EMAIL PROTECTED]' Subject: newbie question : List vs. ArrayList vs. [] 1) public RegInfo[] getList1(RegInfo[] regInfos) {

newbie question : List vs. ArrayList vs. []

2003-10-21 Thread Rumpa Giri
1) public RegInfo[] getList1(RegInfo[] regInfos) { return regInfos; } 2) public ArrayList getList2(ArrayList infos){ return infos; } 3) public List getList3(List infos){ return infos; } Trying

RE: newbie question : List vs. ArrayList vs. [ ]

2003-10-21 Thread Rumpa Giri
, October 21, 2003 3:09 PM > To: '[EMAIL PROTECTED]' > Subject: newbie question : List vs. ArrayList vs. > [] > > 1)public RegInfo[] getList1(RegInfo[] regInfos) { > return regInfos; > } > > 2)public ArrayList getList2(