Slide 27
Slide 27 text
jOOλ – Cherry Picking
• format: Format contents of stream (for debugging)
• intersperse: Insert element between existing
[a, b, c], 0 => [a,0,b,0,c]
• leftOuterJoin: Take all from left, join with each right, by join criteria
[a, b, c][1, 2] => [(a,1),(a,2),(b,1),(b,2),(c,null)]
• rightOuterJoin: Take all from right, join with each left, by join criteria
[a, b][1, 2, 3] => [(a,1),(b,1),(a,2),(b,2),(null,3)]
• innerJoin: join until one of the Seq ends, by join criteria
[a, b][1, 2, 3] => [(a,1),(b,1),(a,2),(b,2)]
27.09.2016 vJUG / Functional Java 8 (Rabea Gransberger @rgransberger) 27