/** * Return true if the specified video is this type. * * @param video the video * @return true if the video is this type */ public boolean isType(Video video) { return video.getClass().equals(GifVideo.class); }