Код: Выделить всё
protected void shrinkSize() {
Iterator iter = fetch iterator
while (iter.hasNext()) {
if (size() > maxSize)
iter.remove();
else
break;
}
}
есть ли способ решить проблему?
Подробнее здесь: https://stackoverflow.com/questions/790 ... which-uses
Мобильная версия