Created
October 25, 2020 16:45
-
-
Save vinsguru/abbeb1a538677d41a2dfa1ddc53cd391 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Stream<String> getMovie(){ | |
System.out.println("Got the movie streaming request"); | |
return Stream.of( | |
"scene 1", | |
"scene 2", | |
"scene 3", | |
"scene 4", | |
"scene 5" | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment