Getting Started with Project Lambda
52
-
Upload
yuichi-sakuraba -
Category
Technology
-
view
502 -
download
0
Transcript of Getting Started with Project Lambda
Stream OperationList<String> texts = ...;
texts
.stream()
.filter(s -> s.contains(" "))
.map(s -> s.toLowerCase())
.flatMap(s -> Arrays.stream(s.split(" ")))
.forEach(w -> System.out.println(w));
Creation
IntermidiateOperation
TerminalOperation
StreamPipelineIntermidiate Ope.
Terminal Ope.
�ltermap�atMap
collect
Stream OperationList<String> texts = ...;
texts
.stream()
.filter(s -> s.contains(" "))
.map(s -> s.toLowerCase())
.flatMap(s -> Arrays.stream(s.split(" ")))
.forEach(w -> System.out.println(w));
Creation
IntermidiateOperation
TerminalOperation
StreamPipelineIntermidiate Ope.
Terminal Ope.
�ltermap�atMap
collect