[program-java] Re: Java: List
- From: "Homme, James" <james.homme@xxxxxxxxxxxx>
- To: "program-java@xxxxxxxxxxxxx" <program-java@xxxxxxxxxxxxx>
- Date: Fri, 10 Sep 2010 15:50:26 -0400
Hi,
I'm going to have to look this up. I thought that when you create one of these
that it starts out empty, and you have no choice but to populate element 0
first. Do you know what the code you're inheriting does to create the
ArrayList?
Jim
Jim Homme,
Usability Services,
Phone: 412-544-1810. Skype: jim.homme
Internal recipients, Read my accessibility blog. Discuss accessibility here.
Accessibility Wiki: Breaking news and accessibility advice
-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, September 10, 2010 3:39 PM
To: 'program-java@xxxxxxxxxxxxx'
Subject: [program-java] Re: Java: List
Jim:
Perhaps, but again due to the poor nature of this app the differing elements
are populated out of sequence so to speak. Let's say that position one was
populated prior to position zero. Could I confidently ask position zero if it
were null?
Jim
-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: September 10, 2010 14:56
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Java: List
Hi,
Wouldn't element 0 be populated with null if the logic allocates all five
elements?
Jim
Jim Homme,
Usability Services,
Phone: 412-544-1810. Skype: jim.homme
Internal recipients, Read my accessibility blog
<http://mysites.highmark.com/personal/lidikki/Blog/default.aspx> . Discuss
accessibility here
<http://collaborate.highmark.com/COP/technical/accessibility/default.aspx> .
Accessibility Wiki: Breaking news and accessibility advice
<http://collaborate.highmark.com/COP/technical/accessibility/Accessibility%20Wiki/Forms/AllPages.aspx>
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, September 10, 2010 2:46 PM
To: 'program-java@xxxxxxxxxxxxx'
Subject: [program-java] Java: List
Hi:
I have a list array:
List myList = new ArrayList();
Eventually five elements of this array are populated. However based upon the
existing logic, element 0 may not be populated first.... Since I can't run the
app at this point, do you feel it would be an issue?
Jim
James M. Corbett
Programmer / Analyst |
Canada Revenue Agency | Agence du revenue du Canada
875 Heron Rd.
Ottawa, On.
K1A0L5
James.Corbett@xxxxxxxxxxxxx
Telephone | Téléphone: (613) 941-1338
Facsimile | Télécopieur: (613) 941-2261
Government of Canada | Gouvernement du Canada
________________________________
This e-mail and any attachments to it are confidential and are intended solely
for use of the individual or entity to whom they are addressed. If you have
received this e-mail in error, please notify the sender immediately and then
delete it. If you are not the intended recipient, you must not keep, use,
disclose, copy or distribute this e-mail without the author's prior permission.
The views expressed in this e-mail message do not necessarily represent the
views of Highmark Inc., its subsidiaries, or affiliates.
Other related posts: