Skip to content

Commit cc506e9

Browse files
committed
exercise8
1 parent 29f5aa9 commit cc506e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/learnrxjava/ComposableListExercises.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ public static ComposableList<Integer> exercise8() {
266266
// Chain the filter and map functions to select the id of all videos
267267
// with a rating of 5.0.
268268
// ------------ INSERT CODE HERE! -----------------------------------
269-
//return newReleases // Complete this expression
269+
return newReleases.filter(video -> video.rating == 5).map(video -> video.id);
270270

271-
throw new UnsupportedOperationException("Not implemented yet.");
271+
//throw new UnsupportedOperationException("Not implemented yet.");
272272
}
273273

274274
/*

0 commit comments

Comments
 (0)