Overriding HashMap.toString() in string interpolation contexts
I am trying to create a subclass of HashMap
with its own string representation. I figured that I just needed to override toString()
in the subclass:
I am trying to create a subclass of HashMap
with its own string representation. I figured that I just needed to override toString()
in the subclass: