<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_as_type(self, index, value_type):
 """ Converts array element into a value defined by specied typecode. If conversion is not possible it returns default value for the specified type. :param index: an index of element to get. :param value_type: the TypeCode that defined the type of the result :return: element value defined by the typecode or default if conversion is not supported. """

        value = self[index]
        return TypeConverter.to_type(value_type, value)