001package flyweight;
002public class Main {
003 public static void main (String[] args) {
004 Video v1 = Data.getVideo("Taxi Driver", 1976, "Scorsese");
005 Video v2 = Data.getVideo("Taxi Driver", 1976, "Scorsese");
006 System.out.println(v1==v2);
007 }
008}