public class Compare extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
movies(MovieInfo moviedb,
String title,
String year)
Compare the MovieDB object with a title and year
|
static boolean |
movies(MovieInfo moviedb,
String title,
String year,
int maxDistance)
Compare the MovieDB object with a title and year, case sensitive
|
static boolean |
movies(MovieInfo moviedb,
String title,
String year,
int maxDistance,
boolean caseSensitive)
Compare the MovieDB object with a title and year
|
public static boolean movies(MovieInfo moviedb, String title, String year)
moviedb - The moviedb object to compare tootitle - The title of the movie to compareyear - The year of the movie to compare exact matchpublic static boolean movies(MovieInfo moviedb, String title, String year, int maxDistance, boolean caseSensitive)
moviedb - The moviedb object to compare tootitle - The title of the movie to compareyear - The year of the movie to comparemaxDistance - The Levenshtein Distance between the two titles. 0 =
exact matchcaseSensitive - true if the comparison is to be case sensitiveCopyright © 2012–2017. All rights reserved.