There are no restrictions on x and y values. Method call is expensive
operation in comparison to simple assignment. In this case having
getter methods make your code slower with no other benefits (other
than your satisfaction).
Write your own class and use Point class as a base. Add all desired
methods and enjoy the results.

On Feb 17, 11:18 am, Raja Nagendra Kumar <[email protected]>
wrote:
> Nope.. I almost got used to not having any public fields in our code..
> Thanx for letting me know android still uses such approach.

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