Hi Guys.  When creating methods in my custom classes I like to use the
old trick of returning "this" on a lot of methods so that I can chain
methods together like so

MyCustomClass mcc = new MyCustomClass();

mcc.method1().method2().method3();


I was wondering if i were to do this with my "setters"  (so my setters
had the return type MyCostumClass  instead of void) will that hurt
preformance?

I guess the problem is I don't have a good understanding for what
happens to unused return values.

Thanks
Brook

-- 
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