public function removeAt($index)
{
if ($this->getReadOnly()) {
throw new TInvalidOperationException('list_readonly', get_class($this));
}
if (($priority = $this->priorityAt($index, true)) !== false) {
return $this->removeAtIndexInPriority($priority[1], $priority[0]);
}
throw new TInvalidDataValueException('list_index_invalid', $index);
}