Get parameters which match with input param.

        :param Parameter param: parameter to compare with this parameters.
        :rtype: list

def getparams(self, param):
        """Get parameters which match with input param.

        :param Parameter param: parameter to compare with this parameters.
        :rtype: list
        """

        return list(cparam for cparam in self.values() if cparam == param)