001package flyweight;
002
003final class VideoObj implements Video {
004        private final String title;
005        private final int    year;
006        private final String director;
007
008        VideoObj(String title, int year, String director) {
009                this.title = title;
010                this.year = year;
011                this.director = director;
012        }
013
014        public String director() {
015                // TODO
016                return "director";
017        }
018
019        public String title() {
020                // TODO
021                return "title";
022        }
023
024        public int year() {
025                // TODO
026                return -1;
027        }
028
029        public boolean equals(Object thatObject) {
030                // TODO
031                return false;
032        }
033
034        public int hashCode() {
035                // TODO
036                return -1;
037        }
038
039        public int compareTo(Video that) {
040                // TODO
041                return -1;
042        }
043
044        public String toString() {
045                // TODO
046                return "El Mariachi (1996) : Rodriguez";
047        }
048}