Код: Выделить всё
public void removeAt(int index) {
if (mValues[index] != DELETED) {
mValues[index] = DELETED;
mGarbage = true;
}
}
Код: Выделить всё
public void removeAt(int index) { Or public void removeAt(int index) {
if (mValues[index] != DELETED) { mValues[index] = DELETED;
mValues[index] = DELETED; mGarbage = true;
if (!mGarbage) }
mGarbage = true;
}
}
Это действительно так? Зависит ли это от виртуальной машины или это тоже общие знания компилируемых языков?
Подробнее здесь: https://stackoverflow.com/questions/725 ... -vs-lookup
Мобильная версия