On Thu, Nov 24, 2011 at 1:59 PM, Mark Murphy <[email protected]>wrote:
> On Thu, Nov 24, 2011 at 7:56 AM, Aitor Mendaza Ormaza > <[email protected]> wrote: > > I want to make something similar to a struct in C/C++, to represent a > > collection of structured data. > > In Java, this is called a "class". > > Really? I had no idea about this.... > > Is there a more efficient way to do this in android? Something like > structs > > :) > > No. > I jut wanted to know if there was a way around of using class only for storing data, as it will not have any methods attached to it, and object handling can be expensive. > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Training in NYC: http://marakana.com/training/android/ > > -- > 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 Thanks for the answer, Best regards! -- 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

