if (type == DOWN) {
priorIndexes[i] = target.moveDown();
} else if (type == TO_FIRST) {
priorIndexes[i] = target.moveToFirst();
} else if (type == TO_LAST) {
priorIndexes[i] = target.moveToLast();
} else {
priorIndexes[i] = target.moveUp();
}
if (priorIndexes[i] >= 0) {