Skip to content

Instantly share code, notes, and snippets.

@vinsguru
Created October 25, 2020 16:45
Show Gist options
  • Save vinsguru/abbeb1a538677d41a2dfa1ddc53cd391 to your computer and use it in GitHub Desktop.
Save vinsguru/abbeb1a538677d41a2dfa1ddc53cd391 to your computer and use it in GitHub Desktop.
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