edu.pdx.cs.joy.rmi.Query Maven / Gradle / Ivy
The newest version!
package edu.pdx.cs.joy.rmi;
import java.io.Serializable;
/**
* This interface represents a query that can be performed on movies
* in a movie database. It is serializable so that it
* Query
objects can be sent between the client and the
* server.
*/
@FunctionalInterface
public interface Query extends Serializable {
/**
* Returns true if the given Movie
satifies this
* Query
.
*/
public boolean satisfies(Movie movie);
}