Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

15 points Create a class called MovieReducerEraCount that implements MediaReducer. Implement a reducer that takes a movie list and an era, then return the number

15 points Create a class called MovieReducerEraCount that implements MediaReducer. Implement a reducer that takes a movie list and an era, then return the number of movies found in the given era. Notice the return type is a formatted String; not an int. Submit both the MovieReducerEraCount and the Movie class from the first question. Note that the movie_list.txt provided in this assignment is different than the movie list from the examples. 15 points Create a class called MovieReducerEraCount that implements MediaReducer. Implement a reducer that takes a movie list and an era, then return the number of movies found in the given era. Notice the return type is a formatted String; not an int. Submit both the MovieReducerEraCount and the Movie class from the first question. Note that the movie_list.txt provided in this assignment is different than the movie list from the examples.

Test Case 1

Movies in Silent Era: 0

Movies in Pre-Golden Era: 7

Movies in Golden Era: 581

Movies in Change Era: 3445

Movies in Modern Era: 10165

Movies in New Millennium Era: 15457

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications Dexa 2023 Workshops 34th International Conference Dexa 2023 Penang Malaysia August 28 30 2023 Proceedings

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Atif Mashkoor ,Johannes Sametinger ,Maqbool Khan

1st Edition

303139688X, 978-3031396885

More Books

Students also viewed these Databases questions