Package edu.pdx.cs410J.rmi
Class GetMoviesInYear.SortMoviesByTitle
java.lang.Object
edu.pdx.cs410J.rmi.GetMoviesInYear.SortMoviesByTitle
- All Implemented Interfaces:
Serializable
,Comparator<Movie>
- Enclosing class:
- GetMoviesInYear
static class GetMoviesInYear.SortMoviesByTitle
extends Object
implements Comparator<Movie>, Serializable
An inner serializable comparator that sorts movies alphabetically
by their titles.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SortMoviesByTitle
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Movie>
-