Lines Matching refs:Collectors
38 import java.util.stream.Collectors;
60 return new BufferedReader(new StringReader(text)).lines().collect(Collectors.toList()); in lines()
92 List<String> list = stream.collect(Collectors.toList()); in testUncomplete()
93 String resp = list.stream().collect(Collectors.joining("")); in testUncomplete()
100 String resp2 = reader.lines().collect(Collectors.joining("")); in testUncomplete()
151 List<String> list = stream.collect(Collectors.toList()); in testStream1()
152 String resp = list.stream().collect(Collectors.joining("|")); in testStream1()
199 List<String> list = stream.collect(Collectors.toList()); in testStream2()
200 String resp = list.stream().collect(Collectors.joining("")); in testStream2()
203 .collect(Collectors.joining("")); in testStream2()
246 List<String> list = stream.collect(Collectors.toList()); in testStream3_UTF16()
247 String resp = list.stream().collect(Collectors.joining("")); in testStream3_UTF16()
292 List<String> list = stream.collect(Collectors.toList()); in testStream4_UTF16()
293 String resp = list.stream().collect(Collectors.joining("")); in testStream4_UTF16()
296 .collect(Collectors.joining("")); in testStream4_UTF16()