|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Movie in usflix |
---|
Fields in usflix declared as Movie | |
---|---|
private Movie |
MovieRating.movie
|
Fields in usflix with type parameters of type Movie | |
---|---|
private java.util.ArrayList<Movie> |
MovieDatabase.movies
ArrayList to hold all the movie objects |
Methods in usflix that return Movie | |
---|---|
Movie |
MovieRating.getMovie()
|
Movie |
MovieDatabase.getMovieByTitle(java.lang.String title)
This method is used in Driver to assist loadUsers method. |
Methods in usflix that return types with arguments of type Movie | |
---|---|
java.util.ArrayList<Movie> |
User.getSeenMovies()
Create an ArrayList of Movie objects from seenMovies and return the ArrayList. |
java.util.ArrayList<Movie> |
MovieDatabase.searchByTitle(java.lang.String[] keywords)
Search for the movies that contain all the keywords given in the parameter. |
Methods in usflix with parameters of type Movie | |
---|---|
boolean |
MovieDatabase.addMovie(Movie m)
Add a new movie object m to the database (ArrayList) |
void |
User.addRating(Movie m,
float r)
When user wishes to rate a movie, this movie may be already in seenMovies. |
java.lang.String |
User.getRating(Movie m)
|
Method parameters in usflix with type arguments of type Movie | |
---|---|
private static void |
Driver.listMenu(User u,
java.util.ArrayList<Movie> list)
listMenu handles printing the list of Movies with the appropriate rating (user's own if available, average otherwise), letting user rate any of the Movies in the list. |
Constructors in usflix with parameters of type Movie | |
---|---|
MovieRating(Movie m,
float r)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |