[{"title":"( 36 个子文件 33KB ) DesignPatterns:初始提交 - 单例模式-源码","children":[{"title":"DesignPatterns-master","children":[{"title":".gitignore <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"vmchalla","children":[{"title":"designpattern","children":[{"title":"structural","children":[{"title":"adapter","children":[{"title":"OrdersProcessorImpl.java <span style='color:#111;'> 837B </span>","children":null,"spread":false},{"title":"OrderProcessorAdapter.java <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"Order.java <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"IOrderProcessor.java <span style='color:#111;'> 188B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"creational","children":[{"title":"factory","children":[{"title":"process","children":[{"title":"EmailAlert.java <span style='color:#111;'> 1014B </span>","children":null,"spread":false},{"title":"Alert.java <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"PaperAlert.java <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"SmsAlert.java <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"AlertsData.java <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"AlertsFactory.java <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"singleton","children":[{"title":"StaticBlockSingleton.java <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"SynchronizedSingleton.java <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"SingletonEnum.java <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"BetterThreadSafeSingleton.java <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"BillPughSingleton.java <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"SingletonLazy.java <span style='color:#111;'> 887B </span>","children":null,"spread":false}],"spread":true},{"title":"prototype","children":[{"title":"Employee.java <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"TruckData.java <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"TruckUtil.java <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"builder","children":[{"title":"FoodProduct.java <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"abstractfactory","children":[{"title":"AlertAF.java <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"SmsAlertAF.java <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"AlertsFactory.java <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"PaperAlertAF.java <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"EmailAlertAF.java <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"behavioural","children":[{"title":"observer","children":[{"title":"AvailabilityService.java <span style='color:#111;'> 785B </span>","children":null,"spread":false},{"title":"StoreFrontAvailabilityPopulator.java <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"ProductAvailability.java <span style='color:#111;'> 736B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"threads","children":[{"title":"BillPughSingletonThreads.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"OverheadSingletonThreads.java <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"DemoSingletons.java <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"BreakSingleton.java <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"MainStub.java <span style='color:#111;'> 8.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 378B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]