Y
Hacker News
new
|
ask
|
show
|
jobs
by
aboodman
5523 days ago
Answer: the inner class can only access constant locals :(. So you have to put any mutable state in members.
Blech. This might work for some cases, but would be a huge pain in the ass in others.