package com.insightfullogic.java8.examples.chapter1;

public class SampleData {

	public static final Artist johnColtrane = new Artist("John Coltrane", "US");
	public static final Artist johnLennon = new Artist("John Lennon", "UK");

}

@@ -49,16 +49,110 @@
 er1;%0D%0A%0D%0A
+import java.util.Arrays;%0D%0Aimport java.util.List;%0D%0A%0D%0Aimport static java.util.Arrays.asList;%0D%0A%0D%0A
 public c
@@ -250,16 +250,33 @@
  %22US%22);%0D
+%0A%0D%0A%09//TheBeatles%0D
 %0A%09public
@@ -343,13 +343,647 @@
 %22UK%22);%0D%0A
+%09public static final Artist paulMcCartney = new Artist(%22Paul McCartney%22, %22UK%22);%0D%0A%09public static final Artist georgeHarrison = new Artist(%22George Harrison%22, %22UK%22);%0D%0A%09public static final Artist ringoStarr = new Artist(%22Ringo Starr%22, %22UK%22);%0D%0A%0D%0A%09public static final List%3CArtist%3E membersOfTheBeatles = Arrays.asList(johnLennon, paulMcCartney, georgeHarrison,%0D%0A%09%09%09ringoStarr);%0D%0A%09%0D%0A%09public static final Artist theBeatles=new Artist(%22The Beatles%22, membersOfTheBeatles,%22UK%22);%0D%0A%09%0D%0A%09public static final Album aLoveSupreme=new Album(%22A Love Supreme%22, asList(new Track(%22Acknowledgement%22, 467), new Track(%22Resolution%22, 442)), asList(johnColtrane));
 %0D%0A%7D%0D%0A

add some sampleData