On Wednesday, August 24, 2011 1:19:58 PM UTC-4, Lew Bloch wrote:
>
> +1 to blake's comments.
>
> A couple more points, inline:
>  
>
Chris wrote: 
>> >> articles = new Vector<Article>[9]; 
>> > 
>> > try articles = (Vector<Article>[]) new Vector[9]; 
>>
>
> Again, neither of these is legal.  You can get around it with 
> '@SuppressWarnings', but shouldn't.
>
>
I wasn't suggesting it was legal, or even a good idea.  However, 
List<Article> is not equivalent to an array of Vector<Article>, which is 
what bob was looking for.  A List of Lists, however, would be.  Presumably 
there's a need for separating collections and indexing.
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to