ChatCrawlersearch across public Telegram Open the app
J

Java Studio

сообщение · 2017-07-09 20:22 UTC
E
public static void main(String[] args) { List<Integer> lista = new ArrayList<>(); lista.add(4); lista.add(10); lista.add(1); //Manera clásica de filtrar pares Iterator it = lista.iterator(); while(it.hasNext()){ Integer n = (Integer) it.next(); if(n % 2 != 0){ it.remove(); } } // Con streams lista = lista.stream().filter(x-> x % 2 == 0).collect(Collectors.toList()); }

All messages on 9 July 2017 · Whole feed · оригинал в Telegram

Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog