posted 14 years ago
I just finished a project that has your exact example Ernest, except with an attribute and a class
The outer class is called SymbolTable and the inner nested class is called TableEntry, and the symbol table is made up of entries. SymbolTable only has one attribute which is a private final HashMap. And the only way I wanted the HashMap to be modified was from the SymbolTable class
Shortened Code Below:
Hope this helps,
Hunter
"If the facts don't fit the theory, get new facts" --Albert Einstein