Код: Выделить всё
for ( T item : /*T[] or Iterable
Подробнее здесь: [url]https://stackoverflow.com/questions/3883131/idiomatic-way-to-use-for-each-loop-given-an-iterator[/url]
Код: Выделить всё
for ( T item : /*T[] or Iterable
Подробнее здесь: [url]https://stackoverflow.com/questions/3883131/idiomatic-way-to-use-for-each-loop-given-an-iterator[/url]