That sounds Linked List better! On Sun, Dec 18, 2011 at 11:34 PM, Mark Murphy <[email protected]>wrote:
> > http://stackoverflow.com/questions/322715/when-to-use-linkedlist-over-arraylist > > On Sun, Dec 18, 2011 at 8:27 AM, bob <[email protected]> wrote: > > Let's say you are making a game for Android. You want a container to > > store the list of enemy ships… maybe a linked list… maybe an array. > > > > Which is probably better? LinkedList or ArrayList? Or, is there > > something I haven't thought about that's better than those two? > > > > I would think LinkedList would be better in theory, but I saw > > ArrayList being used in this Android game book I bought… Beginning > > Android Games. > > > > -- > > 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 > > > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! > > -- > 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 > -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- 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

