[Tutor] Inner Class access to outer class attributes?
Danny Yoo
dyoo at hkn.eecs.berkeley.edu
Thu Mar 23 23:02:07 CET 2006
> So Curly has a list of references to friends. A model diagram of the
> situation looks something like this:
>
>
> larry --------------> { name, friends }
> | |
> V |
> "Larry" [ x, x ]
> | |
> | |
> curly --------------> { name, ...} <-/ |
> | /
> V /
> "Curly" /
> /
> moe ----------------> { ... } <------
>
>
> where I'm just using some ad-hoc notation to show that the names we use
> are arrows to thingy's that I've put in brackets.
^^^^^^^^
Ooops. I should substitute the word "brackets" with "braces". I always
get those two mixed up.
More information about the Tutor
mailing list