WONTFIX
Observations on coding and software engineering.
Wednesday, 4 March 2009
Referencing Enclosing Instance of an Inner Class
When using an inner class how do you reference the enclosing class? The answer is
Object.this
where Object is the class type of the enclosing class. Sweet :)
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)