Converts map element into an integer or returns 0 if conversion is not possible.

        :param key: an index of element to get.

        :return: integer value ot the element or 0 if conversion is not supported.

def get_as_integer(self, key):
        """
        Converts map element into an integer or returns 0 if conversion is not possible.

        :param key: an index of element to get.

        :return: integer value ot the element or 0 if conversion is not supported.
        """
        value = self.get(key)
        return IntegerConverter.to_integer(value)