We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29f5aa9 commit cc506e9Copy full SHA for cc506e9
src/main/java/learnrxjava/ComposableListExercises.java
@@ -266,9 +266,9 @@ public static ComposableList<Integer> exercise8() {
266
// Chain the filter and map functions to select the id of all videos
267
// with a rating of 5.0.
268
// ------------ INSERT CODE HERE! -----------------------------------
269
- //return newReleases // Complete this expression
+ return newReleases.filter(video -> video.rating == 5).map(video -> video.id);
270
271
- throw new UnsupportedOperationException("Not implemented yet.");
+ //throw new UnsupportedOperationException("Not implemented yet.");
272
}
273
274
/*
0 commit comments