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
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SortMoviesByTitle
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Movie>
-