Package edu.pdx.cs410J.java8
Class StreamOperations
java.lang.Object
edu.pdx.cs410J.java8.StreamOperations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconcatenateStrings
(Stream<String> stream) concatenateStrings2
(Stream<String> stream) concatenateStrings3
(Stream<String> stream) concatenateStrings4
(Stream<String> stream) int
countAwardsForMoviesWithActor
(long actorId, Stream<Movie> allMovies) long
countMoviesWithActor
(long actorId, Stream<Movie> movies) findMovieWithId
(long id, Stream<Movie> movies) void
double
getAverageStringLength
(Stream<String> stream) getLongestString
(Stream<String> strings) getMoviesWithActorSafe
(long actorId, Stream<Movie> allMovies) getMoviesWithActorUnsafe
(long actorId, Stream<Movie> allMovies) getSortedStrings
(Stream<String> stream) void
void
void
-
Constructor Details
-
StreamOperations
public StreamOperations()
-
-
Method Details
-
printElementsInStream
-
sumIntsUsingStream
-
findStringsWithMoreThanOneCharacter
-
parseListOfStrings
-
getLongestString
-
findMovieWithId
-
countMoviesWithActor
-
getMoviesWithActorUnsafe
-
getMoviesWithActorSafe
-
countAwardsForMoviesWithActor
-
concatenateStrings
-
concatenateStrings2
-
concatenateStrings3
-
concatenateStrings4
-
getSortedStrings
-
getAverageStringLength
-