Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Array Loading
- From: venky@xxxxxxxxxxx (Kandaswamy, Venkatesh (venky))
- Subject: Array Loading
- Date: Thu, 30 Mar 2000 17:20:19 -0800
A few things that I noticed if it will help: 1. You are incrementing 'x' twice, once as x+1 and then as x++, per iteration. 2. No need to open a new DataInputStream for every iteration. 3. readLine() will return "null" when end-of-file is reached. __________________________________________________________ Venky Kandaswamy Email: vkandaswamy@xxxxxxxxxxxxxxx Phone: 817-313-6407 (Mobile) 305-867-9010 (Office) 413-480-3041 (Fax) WWW Paging: http://www.attws.com/general/msg_center/index.html (PCS: 8173136407) Email Paging: 8173136407@xxxxxxxxxxxxxx Addr: 7525 E. Treasure Dr., Suite 10E, North Bay Village, FL 33141 __________________________________________________________ > -----Original Message----- > From: Leonard Fernandes [SMTP:leo_peo@xxxxxxxxx] > Sent: Thursday, March 30, 2000 1:42 PM > To: advanced-java@xxxxxxxxxxxxxxxx > Subject: Array Loading > > Hi, > I was just wondering if you could help me in loading this array of objects. > I get a NullPointerException while doing this. > > The code is included as an attachment. > > Thanks in advance, > > Leonard << File: compDist.java >> << File: loadData.java >> --- To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- Prev by Date: JDBC Driver recommendations?
- Next by Date: dynamic resultset
- Previous by thread: Array Loading
- Next by thread: Parsing HTTPS
- Index(es):