def METHOD_NAME(self, x):
    comp = []
    for i in x._indices:
        if isinstance(i, FixedIndex):
            comp.append(i._value)
        elif isinstance(i, Index):
            comp.append(self._index2value[i])
    return tuple(comp)