Oracle Error Message
PLS-00520: MAP methods must be declared without any parameters other than (optional) SELF.
Reason for the Error
A MAP member function was declared with a parameter. Map member functions can have only one parameter: the default SELF parameter. Map methods must be declared without any parameters. The compiler adds the SELF parameter.
Remove the parameter from the map member function.