map或者List取数据

题五:$(“div[id^=‘a’]”);
听说是这样做的

list.stream().filter(name -> name.contains("John")).forEach(System.out::println);