Question: JAVA Can someone explain how I would write the public static List findFilmByTitle (String title) ? Im having a hard time understanding it. public class

JAVA

Can someone explain how I would write the

public static List findFilmByTitle (String title) ? Im having a hard time understanding it.

JAVA Can someone explain how I would write the public static List

public class DataSource final static String FILM_FILE final static String ACTORS_FILE final static String FILM-ACTORS-LINK-FILE = "film-actors, csV". "films.csv" "actors.csv" public static void init String realPath ServletUtils.getProjectInputFilesPath); FilmReader aReader -new FilmReader); List films aReader.readFilmFile(realPath, FILM_FILE) FilmCatalog filmInventory FilmCatalog.getInstance); filmInventory.addAll (films); ActorReader actorReader new ActorReader (); List actors actorReader. readActorFile(realPath, ACTORS_FILE) ActorInventory actorInventory-ActorInventory.getInstance); actorInventory.addAll (actors); FilmActorReader fiLmActorReader new FilmActorReader O; List > pairs- filmActorReader.readFilmActorFile(realPath, FILM_ACTORS_LINK_FILE); FilctorBuilder builder = new FilmActorBuilder (); builder.build(filmInventory, actorInventory, pairs); public static List findFi lmByTitle (String title) f // You will write this method using the Strategy pattern... return foundFilms

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!