Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clarification in the second compliant example.

...

Depending on the required functionality, wrapper methods may be used to retrieve an instance of the Hashmap or a contained valueretrieve either a reference to the Hashmap, a copy of the HashMap, or a value contained by the Hashmap. This compliant solution adds a wrapper method to return the value of an element given its index in the Hashmap.

...