package com.java.mastery.streams;

/**
 * Created by ANAN011 on 19/3/2017.
 *
 * @author Prajesh Ananthan, arvato Systems Malaysia Sdn Bhd
 */
public class StreamCookBook1 {
  //TODO: https://dzone.com/articles/a-java-8-streams-cookbook?edition=268944&utm_source=Daily%20Digest&utm_medium=email&utm_campaign=dd%202017-02-14
}

@@ -28,16 +28,139 @@
 reams;%0A%0A
+import com.java.mastery.streams.model.Winner;%0A%0Aimport java.time.Duration;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0A
 /**%0A * C
@@ -290,16 +290,1339 @@
 Book1 %7B%0A
+  public static final List%3CWinner%3E tdfWinners = Arrays.asList(%0A      new Winner(2006, %22Spain%22, %22%C3%93scar Pereiro%22, %22Caisse d'Epargne%E2%80%93Illes Balears%22, 3657, Duration.parse(%22PT89H40M27S%22), 8),%0A      new Winner(2007, %22Spain%22, %22Alberto Contador%22, %22Discovery Channel%22, 3570, Duration.parse(%22PT91H00M26S%22), 4),%0A      new Winner(2008, %22Spain%22, %22Carlos Sastre%22, %22Team CSC%22, 3559, Duration.parse(%22PT87H52M52S%22), 5),%0A      new Winner(2009, %22Spain%22, %22Alberto Contador%22, %22Astana%22, 3459, Duration.parse(%22PT85H48M35S%22), 7),%0A      new Winner(2010, %22Luxembourg%22, %22Andy Schleck%22, %22Team Saxo Bank%22, 3642, Duration.parse(%22PT91H59M27S%22), 12),%0A      new Winner(2011, %22Australia%22, %22Cadel Evans%22, %22BMC Racing Team%22, 3430, Duration.parse(%22PT86H12M22S%22), 2),%0A      new Winner(2012, %22Great Britain%22, %22Bradley Wiggins%22, %22Team Sky%22, 3496, Duration.parse(%22PT87H34M47S%22), 14),%0A      new Winner(2013, %22Great Britain%22, %22Chris Froome%22, %22Team Sky%22, 3404, Duration.parse(%22PT83H56M20S%22), 14),%0A      new Winner(2014, %22Italy%22, %22Vincenzo Nibali%22, %22Astana%22, 3661, Duration.parse(%22PT89H59M06S%22), 19),%0A      new Winner(2015, %22Great Britain%22, %22Chris Froome%22, %22Team Sky%22, 3360, Duration.parse(%22PT84H46M14S%22), 16),%0A      new Winner(2016, %22Great Britain%22, %22Chris Froome%22, %22Team Sky%22, 3529, Duration.parse(%22PT89H04M48S%22), 14));%0A%0A  public static void main(String%5B%5D args) %7B%0A  
   //TODO
@@ -1763,10 +1763,14 @@
 7-02-14%0A
+  %7D%0A
 %7D%0A

Fix dependencies