I\'m writing a equals(Object obj) function for a class. I see that it is possible 开发者_运维技巧to access the private fields of obj from the caller. So instead of using a getter:
I like the fact that Google Code is a free option for Mercurial hosting but, in the test project I set up I couldn\'t find a way to designate th开发者_JS百科e repository as private.
Can I set a private property via reflection? public abstract class Entity { private int _id; private DateTime? _createdOn;
Are there any way t开发者_Python百科o declare a child component in mxml which is private/protected or even static?