├── README.md ├── _config.yml ├── ch01Introduction ├── 1.1什么是设计模式.md ├── 1.2MVC中的设计模式.md ├── 1.3描述设计模式.md ├── 1.4设计模式的分类.md ├── 1.5设计模式的组织分类.md ├── 1.6设计模式解决设计问题的方式.md ├── 1.7怎样选择设计模式.md ├── 1.8怎样使用设计模式.md ├── 1.9相关词汇表.md └── assets │ ├── 1563363834415.png │ ├── 1563430491628.png │ ├── 1563431139090.png │ └── 1563880582136.png ├── ch02CaseStudy ├── Lexi │ ├── Lexi.sln │ ├── Lexi.suo │ └── Lexi │ │ ├── Form1.Designer.cs │ │ ├── Form1.cs │ │ ├── Lexi.Check │ │ ├── CheckSpelling.cs │ │ ├── Iterator.cs │ │ └── NullIterator.cs │ │ ├── Lexi.Element │ │ ├── Composition.cs │ │ └── Glyph.cs │ │ ├── Lexi.Formatting │ │ └── Compositor.cs │ │ ├── Lexi.UI.Command │ │ ├── Command.cs │ │ └── QuitCommand.cs │ │ ├── Lexi.UI.Decorate │ │ ├── Border.cs │ │ ├── MonoGlyph.cs │ │ └── Scroller.cs │ │ ├── Lexi.UI.Show │ │ ├── Window.cs │ │ ├── WindowsImp.cs │ │ └── XWindow.cs │ │ ├── Lexi.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ │ ├── bin │ │ └── Debug │ │ │ ├── Lexi.exe │ │ │ ├── Lexi.pdb │ │ │ ├── Lexi.vshost.exe │ │ │ └── Lexi.vshost.exe.manifest │ │ └── obj │ │ └── x86 │ │ └── Debug │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ ├── GenerateResource.read.1.tlog │ │ ├── GenerateResource.write.1.tlog │ │ ├── Lexi.Properties.Resources.resources │ │ ├── Lexi.csproj.FileListAbsolute.txt │ │ ├── Lexi.exe │ │ └── Lexi.pdb ├── README.md └── assets │ └── 1563968175132.png ├── ch03CreationalPatterns ├── 3.1抽象工厂-AbstractFactory.md ├── 3.2生成器-Builder.md ├── 3.3工厂方法-FactoryMethod.md ├── 3.4原型模式-Prototype.md ├── 3.5单例模式-Singleton.md ├── 3.X创建型模式的讨论.md ├── Pattern31_AbstractFactory │ ├── .gitignore │ ├── Example0Main.html │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── jueee │ │ │ ├── example01 │ │ │ ├── ExampleMain.java │ │ │ ├── factory │ │ │ │ ├── Factory.java │ │ │ │ └── ListFactory.java │ │ │ ├── item │ │ │ │ ├── Item.java │ │ │ │ ├── Link.java │ │ │ │ ├── Page.java │ │ │ │ └── Tray.java │ │ │ └── list │ │ │ │ ├── ListLink.java │ │ │ │ ├── ListPage.java │ │ │ │ └── ListTray.java │ │ │ └── example02 │ │ │ ├── ExampleMain.java │ │ │ ├── FactoryMacker.java │ │ │ ├── FactoryType.java │ │ │ ├── computer │ │ │ ├── ComputerMemory.java │ │ │ ├── ComputerProcessor.java │ │ │ └── ComputerScreen.java │ │ │ ├── factory │ │ │ ├── AbstractFactory.java │ │ │ ├── ComputerFactory.java │ │ │ ├── ElectronicFactory.java │ │ │ └── PhoneFactory.java │ │ │ ├── item │ │ │ ├── Memory.java │ │ │ ├── Processor.java │ │ │ └── Screen.java │ │ │ └── phone │ │ │ ├── PhoneMemory.java │ │ │ ├── PhoneProcessor.java │ │ │ └── PhoneScreen.java │ │ └── test │ │ └── java │ │ └── com │ │ └── jueee │ │ └── example │ │ └── AppTest.java ├── Pattern32_Builder │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── jueee │ │ │ ├── example01 │ │ │ ├── Builder.java │ │ │ ├── Director.java │ │ │ ├── ExampleMain.java │ │ │ ├── HtmlBuilder.java │ │ │ ├── MarkDownBuilder.java │ │ │ └── TextBuilder.java │ │ │ ├── example02 │ │ │ ├── Computer.java │ │ │ ├── ComputerConfigBuilder.java │ │ │ ├── Director.java │ │ │ ├── ExampleMain.java │ │ │ ├── HighConfigBuider.java │ │ │ └── LowConfigBuilder.java │ │ │ └── example03 │ │ │ ├── ExampleMain.java │ │ │ └── Person.java │ │ └── test │ │ └── java │ │ └── com │ │ └── jueee │ │ └── example01 │ │ └── AppTest.java ├── Pattern33_FactoryMethod │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── jueee │ │ │ └── example01 │ │ │ ├── ExampleMain.java │ │ │ ├── Factory.java │ │ │ ├── IDCard.java │ │ │ ├── IDCardFactory.java │ │ │ └── Product.java │ │ └── test │ │ └── java │ │ └── com │ │ └── jueee │ │ └── example01 │ │ └── AppTest.java ├── Pattern34_Prototype │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── jueee │ │ ├── example01 │ │ ├── Client.java │ │ ├── ConcretePrototype1.java │ │ ├── ConcretePrototype2.java │ │ ├── ExampleMain.java │ │ └── Prototype.java │ │ ├── example02 │ │ ├── ConcretePrototype1.java │ │ ├── ConcretePrototype2.java │ │ ├── ExampleMain.java │ │ ├── Prototype.java │ │ └── PrototypeManager.java │ │ ├── example03 │ │ ├── GoldRingedStaff.java │ │ ├── Monkey.java │ │ └── TheGreatestSage.java │ │ └── example04 │ │ ├── GoldRingedStaff.java │ │ ├── Monkey.java │ │ └── TheGreatestSage.java ├── Pattern35_Singleton │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── jueee │ │ ├── example01 │ │ ├── ExampleMain.java │ │ └── SingletonPattern.java │ │ ├── example02 │ │ ├── ExampleMain.java │ │ └── SingletonPattern.java │ │ ├── example03 │ │ ├── ExampleMain.java │ │ └── SingletonPattern.java │ │ ├── example04 │ │ ├── ExampleMain.java │ │ └── SingletonPattern.java │ │ ├── example05 │ │ ├── ExampleMain.java │ │ └── SingletonPattern.java │ │ ├── example06 │ │ ├── ExampleMain.java │ │ └── SingletonPattern.java │ │ ├── example07 │ │ ├── ExampleMain.java │ │ └── SingletonPattern.java │ │ ├── example08 │ │ ├── ExampleMain.java │ │ └── SingletonPattern.java │ │ └── example09 │ │ ├── ExampleMain.java │ │ └── SingletonPattern.java └── assets │ ├── 1564478622902.png │ ├── 1564478906505.png │ ├── 1564554979515.png │ ├── 1564555077853.png │ ├── 1564555131466.png │ ├── 1564555194270.png │ ├── 1564555500699.png │ ├── 1564555525817.png │ ├── 1564555583691.png │ ├── 1564555614102.png │ ├── 1564743176200.png │ ├── 1564743219656.png │ ├── 1564743269135.png │ └── 1564743305399.png ├── ch04StructuralPatterns ├── 4.1适配器模式-Adapter.md ├── 4.2桥接模式-Bridge.md ├── 4.3组合模式-Composite.md ├── 4.4装饰模式-Decorator.md ├── 4.5外观模式-Facade.md ├── 4.6享元模式-Flyweight.md ├── 4.7代理模式-Proxy.md ├── 4.X结构型模式的讨论.md ├── Pattern41_Adapter │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── jueee │ │ ├── example01 │ │ ├── Adaptee.java │ │ ├── Adapter.java │ │ ├── ExampleMain.java │ │ └── Target.java │ │ └── example02 │ │ ├── Adaptee.java │ │ ├── Adapter.java │ │ ├── ExampleMain.java │ │ └── Target.java ├── Pattern42_Bridge │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── jueee │ │ ├── example01 │ │ ├── Abstraction.java │ │ ├── ConcreteImplementor1.java │ │ ├── ConcreteImplementor2.java │ │ ├── ExampleMain.java │ │ ├── Implementor.java │ │ └── RefinedAbstraction.java │ │ ├── example02 │ │ ├── ExampleMain.java │ │ ├── HandsetBrand.java │ │ ├── HandsetBrandM.java │ │ ├── HandsetBrandMAddress.java │ │ ├── HandsetBrandMGame.java │ │ ├── HandsetBrandN.java │ │ ├── HandsetBrandNAddress.java │ │ └── HandsetBrandNGame.java │ │ ├── example03 │ │ ├── ExampleMain.java │ │ ├── HandsetAddress.java │ │ ├── HandsetBrand.java │ │ ├── HandsetBrandM.java │ │ ├── HandsetBrandN.java │ │ ├── HandsetGame.java │ │ └── HandsetSoft.java │ │ └── example04 │ │ ├── ExampleMain.java │ │ ├── HandsetAddress.java │ │ ├── HandsetBrand.java │ │ ├── HandsetBrandM.java │ │ ├── HandsetBrandN.java │ │ ├── HandsetGame.java │ │ └── HandsetSoft.java ├── Pattern43_Composite │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── jueee │ │ ├── example01 │ │ ├── Component.java │ │ ├── Composite.java │ │ ├── ExampleMain.java │ │ └── Leaf.java │ │ └── example02 │ │ ├── Component.java │ │ ├── Composite.java │ │ ├── ExampleMain.java │ │ └── Leaf.java ├── Pattern44_Decorator │ ├── .classpath │ ├── .gitignore │ ├── .project │ ├── .settings │ │ ├── org.eclipse.core.resources.prefs │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.m2e.core.prefs │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── jueee │ │ ├── example01 │ │ ├── Component.java │ │ ├── ConcreteComponent.java │ │ ├── ConcreteDecoratorA.java │ │ ├── ConcreteDecoratorB.java │ │ ├── Decorator.java │ │ └── ExampleMain.java │ │ ├── example02 │ │ ├── BlackBoarderDecorator.java │ │ ├── Component.java │ │ ├── ComponentDecorator.java │ │ ├── ExampleMain.java │ │ ├── ListBox.java │ │ ├── ScrollBarDecorator.java │ │ ├── TextBox.java │ │ └── Window.java │ │ └── example03 │ │ ├── Car.java │ │ ├── ExampleMain.java │ │ ├── FlyCar.java │ │ ├── Icar.java │ │ ├── SuperCar.java │ │ └── WaterCar.java ├── Pattern45_Facade │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── jueee │ │ ├── example01 │ │ ├── ExampleMain.java │ │ ├── Facade.java │ │ ├── SubSystemA.java │ │ ├── SubSystemB.java │ │ └── SubSystemC.java │ │ └── example02 │ │ ├── Circle.java │ │ ├── ExampleMain.java │ │ ├── Rectangle.java │ │ ├── Shape.java │ │ ├── ShapeMaker.java │ │ └── Square.java ├── Pattern46_Flyweight │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── jueee │ │ └── example01 │ │ ├── ConcreteFlyweight.java │ │ ├── ExampleMain.java │ │ ├── Flyweight.java │ │ ├── FlyweightFactory.java │ │ └── UnsharedConcreteFlyweight.java ├── Pattern47_Proxy │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── jueee │ │ ├── example01 │ │ ├── ExampleMain.java │ │ ├── ProxySubject.java │ │ ├── RealSubject.java │ │ └── Subject.java │ │ ├── example02 │ │ ├── ExampleMain.java │ │ ├── ProxySubject.java │ │ ├── RealSubject.java │ │ └── Subject.java │ │ └── example03 │ │ ├── ExampleMain.java │ │ ├── ProxySubject.java │ │ ├── RealSubject.java │ │ └── Subject.java └── assets │ ├── 1565349393507.png │ ├── 1565349509338.png │ ├── 1565612018171.png │ ├── 1565695327762.png │ ├── 1565695371156.png │ ├── 1565695455117.png │ ├── 1565695886859.png │ ├── 1565695914170.png │ ├── 1565695978673.png │ ├── 1565698632203.png │ ├── 1565767830410.png │ ├── 1565773463280.png │ ├── 1565773924986.png │ ├── 1565773952765.png │ ├── 1565773984146.png │ ├── 1565774712189.png │ ├── 1565775400963.png │ ├── 1565775470726.png │ ├── 1565849325007.png │ ├── 1565849703220.png │ ├── 1565857047589.png │ ├── 1565866423707.png │ ├── 1565867280197.png │ └── 1565868086979.png └── ch05BehavioralPatterns ├── 5.01责任链模式-ChainOfResponsibility.md ├── 5.02命令模式-Command.md ├── 5.03解释器模式-Interpreter.md ├── 5.04迭代器模式-Iterator.md ├── 5.05中介者模式-Mediator.md ├── 5.06备忘录模式-Memento.md ├── 5.07观察者模式-Observer.md ├── 5.08状态模式-State.md ├── 5.09策略模式-Strategy.md ├── 5.10模板方法模式-TemplateMethod.md ├── 5.11访问者模式-Visitor.md ├── 5.XX行为模式的讨论.md ├── Pattern501_ChainOfResponsibility ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── Director.java │ ├── ExampleMain.java │ ├── GeneralManager.java │ ├── Leader.java │ ├── LeaveRequest.java │ ├── Manager.java │ └── ViceGeneralManager.java │ └── example02 │ ├── CEO.java │ ├── Customer.java │ ├── ExampleMain.java │ ├── Manager.java │ ├── PriceHandler.java │ ├── PriceHandlerFactory.java │ └── Sales.java ├── Pattern502_Command ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── Command.java │ ├── ConcreteCommand.java │ ├── ExampleMain.java │ ├── Invoker.java │ └── Receiver.java │ └── example02 │ ├── BuyCommand.java │ ├── Command.java │ ├── ExampleMain.java │ ├── Invoker.java │ ├── Receiver.java │ └── SellCommand.java ├── Pattern503_Interpreter ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── AbstractExpression.java │ ├── Context.java │ ├── NonterminalExpression.java │ └── TerminalExpression.java │ ├── example02 │ ├── And.java │ ├── Constant.java │ ├── Context.java │ ├── ExampleMain.java │ ├── Expression.java │ ├── Not.java │ ├── Or.java │ └── Variable.java │ ├── example03 │ ├── AndExpression.java │ ├── ExampleMain.java │ ├── Expression.java │ ├── OrExpression.java │ └── TerminalExpression.java │ └── example04 │ ├── AbstractNode.java │ ├── ActionNode.java │ ├── AndNode.java │ ├── DirectionNode.java │ ├── DistanceNode.java │ ├── ExampleMain.java │ ├── InstructionHandler.java │ └── SentenceNode.java ├── Pattern504_Iterator ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── Aggregate.java │ ├── ConcreteAggregate.java │ ├── ConcreteIterator.java │ ├── ExampleMain.java │ └── Iterator.java │ └── example02 │ ├── AbstractIterator.java │ ├── AbstractObjectList.java │ ├── ConcreteObjectList.java │ ├── ExampleMain.java │ └── ProducteIterator.java ├── Pattern505_Mediator ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── Colleague.java │ ├── ConcreteColleagueA.java │ ├── ConcreteColleagueB.java │ ├── ConcreteMediator.java │ ├── ExampleMain.java │ └── Mediator.java │ └── example02 │ ├── AbstractColleague.java │ ├── ControllerMediator.java │ ├── ExampleMain.java │ ├── IMediator.java │ ├── ModelColleague.java │ └── ViewColleague.java ├── Pattern506_Memento ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── Caretaker.java │ ├── ExampleMain.java │ ├── Memento.java │ └── Originator.java │ └── example02 │ ├── ExampleMain.java │ ├── Memento.java │ ├── MementoManager.java │ └── Originator.java ├── Pattern507_Observer ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── ExampleMain.java │ ├── Observer.java │ ├── Subject.java │ ├── SubscriptionSubject.java │ └── WeixinUser.java │ ├── example02 │ ├── ConcreteObserver.java │ ├── ConcreteSubject.java │ ├── ExampleMain.java │ ├── Observer.java │ └── Subject.java │ ├── example03 │ ├── Boss.java │ ├── ExampleMain.java │ ├── NBAObserver.java │ ├── Observer.java │ ├── Secretary.java │ ├── StockObserver.java │ └── Subject.java │ └── example04 │ ├── AllyControlCenter.java │ ├── ConrecteAllyControlCenter.java │ ├── ExampleMain.java │ ├── Observer.java │ └── Player.java ├── Pattern508_State ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── Context.java │ ├── ExampleMain.java │ ├── StartState.java │ ├── State.java │ └── StopState.java │ ├── example02 │ ├── BlueState.java │ ├── Context.java │ ├── ExampleMain.java │ ├── GreenState.java │ ├── RedState.java │ └── State.java │ └── example03 │ ├── Context.java │ ├── ExampleMain.java │ ├── FirstState.java │ ├── SecondState.java │ ├── State.java │ └── ThirdState.java ├── Pattern509_Strategy ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── Context.java │ ├── ExampleMain.java │ ├── Strategy.java │ ├── StrategyA.java │ ├── StrategyB.java │ └── StrategyC.java │ ├── example02 │ ├── Context.java │ ├── ExampleMain.java │ ├── Strategy.java │ ├── StrategyA.java │ ├── StrategyB.java │ └── StrategyC.java │ └── example03 │ ├── Context.java │ ├── ExampleMain.java │ ├── Strategy.java │ ├── StrategyA.java │ ├── StrategyB.java │ ├── StrategyC.java │ └── StrategyTypeEnum.java ├── Pattern510_TemplateMethod ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── AbstractClass.java │ ├── ContreteTemplateA.java │ ├── ContreteTemplateB.java │ └── ExampleMain.java │ └── example02 │ ├── AbstractMySQLExecute.java │ ├── Book.java │ ├── Book.sql │ ├── BookBatchMySQLExecute.java │ ├── BookMySQLExecute.java │ └── ExampleMain.java ├── Pattern511_Visitor ├── .gitignore ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── jueee │ ├── example01 │ ├── Element.java │ ├── ExampleMain.java │ ├── ObjectStructure.java │ ├── PartA.java │ ├── PartB.java │ ├── Visitor.java │ ├── VisitorA.java │ ├── VisitorB.java │ └── VisitorCEO.java │ └── example02 │ ├── Computer.java │ ├── ComputerPart.java │ ├── ComputerPartDisplayVisitor.java │ ├── ComputerPartVisitor.java │ ├── ExampleMain.java │ ├── Keyboard.java │ ├── Monitor.java │ └── Mouse.java └── assets ├── 1565925979863.png ├── 1565934690848.png ├── 1565934737067.png ├── 1565940294322.png ├── 1565944140348.png ├── 1566204300213.png ├── 1566206365127.png ├── 1566206385894.png ├── 1566266011822.png ├── 1566267051781.png ├── 1566267474832.png ├── 1566898065456.png ├── 1566898089575.png ├── 1566898141019.png ├── 1566898170178.png ├── 1566898190569.png ├── 1566898195489.png ├── 1566898220263.png ├── 1567424210382.png ├── 1567425038113.png ├── 1567512205454.png ├── 1567512227968.png ├── 1567512257458.png ├── 1567512285258.png ├── 1567649330854.png ├── 1567649361024.png ├── 1567649388879.png ├── 1567685723950.png ├── 1567685900846.png ├── 1567685908835.png ├── 1568097180225.png ├── 1568097209822.png ├── 1568101297817.png ├── 1568101316288.png ├── 1568103769422.png ├── 1568114770968.png ├── 1568114806457.png ├── 1568114821955.png └── 1568114856712.png /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/_config.yml -------------------------------------------------------------------------------- /ch01Introduction/1.1什么是设计模式.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/1.1什么是设计模式.md -------------------------------------------------------------------------------- /ch01Introduction/1.2MVC中的设计模式.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/1.2MVC中的设计模式.md -------------------------------------------------------------------------------- /ch01Introduction/1.3描述设计模式.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/1.3描述设计模式.md -------------------------------------------------------------------------------- /ch01Introduction/1.4设计模式的分类.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/1.4设计模式的分类.md -------------------------------------------------------------------------------- /ch01Introduction/1.5设计模式的组织分类.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/1.5设计模式的组织分类.md -------------------------------------------------------------------------------- /ch01Introduction/1.6设计模式解决设计问题的方式.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/1.6设计模式解决设计问题的方式.md -------------------------------------------------------------------------------- /ch01Introduction/1.7怎样选择设计模式.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/1.7怎样选择设计模式.md -------------------------------------------------------------------------------- /ch01Introduction/1.8怎样使用设计模式.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/1.8怎样使用设计模式.md -------------------------------------------------------------------------------- /ch01Introduction/1.9相关词汇表.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/1.9相关词汇表.md -------------------------------------------------------------------------------- /ch01Introduction/assets/1563363834415.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/assets/1563363834415.png -------------------------------------------------------------------------------- /ch01Introduction/assets/1563430491628.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/assets/1563430491628.png -------------------------------------------------------------------------------- /ch01Introduction/assets/1563431139090.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/assets/1563431139090.png -------------------------------------------------------------------------------- /ch01Introduction/assets/1563880582136.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch01Introduction/assets/1563880582136.png -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi.sln -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi.suo -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Form1.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Form1.Designer.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Form1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Form1.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.Check/CheckSpelling.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.Check/CheckSpelling.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.Check/Iterator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.Check/Iterator.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.Check/NullIterator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.Check/NullIterator.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.Element/Composition.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.Element/Composition.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.Element/Glyph.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.Element/Glyph.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.Formatting/Compositor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.Formatting/Compositor.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.UI.Command/Command.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.UI.Command/Command.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.UI.Command/QuitCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.UI.Command/QuitCommand.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.UI.Decorate/Border.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.UI.Decorate/Border.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.UI.Decorate/MonoGlyph.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.UI.Decorate/MonoGlyph.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.UI.Decorate/Scroller.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.UI.Decorate/Scroller.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.UI.Show/Window.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.UI.Show/Window.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.UI.Show/WindowsImp.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.UI.Show/WindowsImp.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.UI.Show/XWindow.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.UI.Show/XWindow.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Lexi.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Lexi.csproj -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Program.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Properties/Resources.Designer.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Properties/Resources.resx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Properties/Resources.resx -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Properties/Settings.Designer.cs -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/Properties/Settings.settings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/Properties/Settings.settings -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/bin/Debug/Lexi.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/bin/Debug/Lexi.exe -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/bin/Debug/Lexi.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/bin/Debug/Lexi.pdb -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/bin/Debug/Lexi.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/bin/Debug/Lexi.vshost.exe -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/bin/Debug/Lexi.vshost.exe.manifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/bin/Debug/Lexi.vshost.exe.manifest -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/GenerateResource.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/GenerateResource.read.1.tlog -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/GenerateResource.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/GenerateResource.write.1.tlog -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/Lexi.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/Lexi.Properties.Resources.resources -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/Lexi.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/Lexi.csproj.FileListAbsolute.txt -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/Lexi.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/Lexi.exe -------------------------------------------------------------------------------- /ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/Lexi.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/Lexi/Lexi/obj/x86/Debug/Lexi.pdb -------------------------------------------------------------------------------- /ch02CaseStudy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/README.md -------------------------------------------------------------------------------- /ch02CaseStudy/assets/1563968175132.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch02CaseStudy/assets/1563968175132.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/3.1抽象工厂-AbstractFactory.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/3.1抽象工厂-AbstractFactory.md -------------------------------------------------------------------------------- /ch03CreationalPatterns/3.2生成器-Builder.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/3.2生成器-Builder.md -------------------------------------------------------------------------------- /ch03CreationalPatterns/3.3工厂方法-FactoryMethod.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/3.3工厂方法-FactoryMethod.md -------------------------------------------------------------------------------- /ch03CreationalPatterns/3.4原型模式-Prototype.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/3.4原型模式-Prototype.md -------------------------------------------------------------------------------- /ch03CreationalPatterns/3.5单例模式-Singleton.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/3.5单例模式-Singleton.md -------------------------------------------------------------------------------- /ch03CreationalPatterns/3.X创建型模式的讨论.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/3.X创建型模式的讨论.md -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/.gitignore -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/Example0Main.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/Example0Main.html -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/pom.xml -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/factory/Factory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/factory/Factory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/factory/ListFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/factory/ListFactory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/item/Item.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/item/Item.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/item/Link.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/item/Link.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/item/Page.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/item/Page.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/item/Tray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/item/Tray.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/list/ListLink.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/list/ListLink.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/list/ListPage.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/list/ListPage.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/list/ListTray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example01/list/ListTray.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/FactoryMacker.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/FactoryMacker.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/FactoryType.java: -------------------------------------------------------------------------------- 1 | package com.jueee.example02; 2 | 3 | // 工厂类型 4 | public enum FactoryType { 5 | PHONE,COMPUTER; 6 | } 7 | -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/computer/ComputerMemory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/computer/ComputerMemory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/computer/ComputerProcessor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/computer/ComputerProcessor.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/computer/ComputerScreen.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/computer/ComputerScreen.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/factory/AbstractFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/factory/AbstractFactory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/factory/ComputerFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/factory/ComputerFactory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/factory/ElectronicFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/factory/ElectronicFactory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/factory/PhoneFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/factory/PhoneFactory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/item/Memory.java: -------------------------------------------------------------------------------- 1 | package com.jueee.example02.item; 2 | 3 | // 内存接口类 4 | public interface Memory { 5 | 6 | String getDescription(); 7 | } 8 | -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/item/Processor.java: -------------------------------------------------------------------------------- 1 | package com.jueee.example02.item; 2 | 3 | // 处理器接口类 4 | public interface Processor { 5 | 6 | String getDescription(); 7 | } 8 | -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/item/Screen.java: -------------------------------------------------------------------------------- 1 | package com.jueee.example02.item; 2 | 3 | // 屏幕接口类 4 | public interface Screen { 5 | 6 | String getDescription(); 7 | } 8 | -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/phone/PhoneMemory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/phone/PhoneMemory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/phone/PhoneProcessor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/phone/PhoneProcessor.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/phone/PhoneScreen.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/main/java/com/jueee/example02/phone/PhoneScreen.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern31_AbstractFactory/src/test/java/com/jueee/example/AppTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern31_AbstractFactory/src/test/java/com/jueee/example/AppTest.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/.gitignore -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/pom.xml -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/Builder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/Builder.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/Director.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/Director.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/HtmlBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/HtmlBuilder.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/MarkDownBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/MarkDownBuilder.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/TextBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example01/TextBuilder.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/Computer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/Computer.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/ComputerConfigBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/ComputerConfigBuilder.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/Director.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/Director.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/HighConfigBuider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/HighConfigBuider.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/LowConfigBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example02/LowConfigBuilder.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example03/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example03/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example03/Person.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/main/java/com/jueee/example03/Person.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern32_Builder/src/test/java/com/jueee/example01/AppTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern32_Builder/src/test/java/com/jueee/example01/AppTest.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern33_FactoryMethod/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern33_FactoryMethod/.gitignore -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern33_FactoryMethod/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern33_FactoryMethod/pom.xml -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/Factory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/Factory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/IDCard.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/IDCard.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/IDCardFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/IDCardFactory.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/Product.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern33_FactoryMethod/src/main/java/com/jueee/example01/Product.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern33_FactoryMethod/src/test/java/com/jueee/example01/AppTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern33_FactoryMethod/src/test/java/com/jueee/example01/AppTest.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/.gitignore -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/pom.xml -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/Client.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/Client.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/ConcretePrototype1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/ConcretePrototype1.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/ConcretePrototype2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/ConcretePrototype2.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/Prototype.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example01/Prototype.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/ConcretePrototype1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/ConcretePrototype1.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/ConcretePrototype2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/ConcretePrototype2.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/Prototype.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/Prototype.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/PrototypeManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example02/PrototypeManager.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example03/GoldRingedStaff.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example03/GoldRingedStaff.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example03/Monkey.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example03/Monkey.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example03/TheGreatestSage.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example03/TheGreatestSage.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example04/GoldRingedStaff.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example04/GoldRingedStaff.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example04/Monkey.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example04/Monkey.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example04/TheGreatestSage.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern34_Prototype/src/main/java/com/jueee/example04/TheGreatestSage.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/.gitignore -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/pom.xml -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example01/SingletonPattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example01/SingletonPattern.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example02/SingletonPattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example02/SingletonPattern.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example03/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example03/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example03/SingletonPattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example03/SingletonPattern.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example04/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example04/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example04/SingletonPattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example04/SingletonPattern.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example05/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example05/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example05/SingletonPattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example05/SingletonPattern.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example06/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example06/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example06/SingletonPattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example06/SingletonPattern.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example07/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example07/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example07/SingletonPattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example07/SingletonPattern.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example08/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example08/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example08/SingletonPattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example08/SingletonPattern.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example09/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example09/ExampleMain.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example09/SingletonPattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/Pattern35_Singleton/src/main/java/com/jueee/example09/SingletonPattern.java -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564478622902.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564478622902.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564478906505.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564478906505.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564554979515.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564554979515.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564555077853.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564555077853.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564555131466.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564555131466.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564555194270.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564555194270.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564555500699.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564555500699.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564555525817.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564555525817.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564555583691.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564555583691.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564555614102.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564555614102.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564743176200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564743176200.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564743219656.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564743219656.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564743269135.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564743269135.png -------------------------------------------------------------------------------- /ch03CreationalPatterns/assets/1564743305399.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch03CreationalPatterns/assets/1564743305399.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/4.1适配器模式-Adapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/4.1适配器模式-Adapter.md -------------------------------------------------------------------------------- /ch04StructuralPatterns/4.2桥接模式-Bridge.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/4.2桥接模式-Bridge.md -------------------------------------------------------------------------------- /ch04StructuralPatterns/4.3组合模式-Composite.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/4.3组合模式-Composite.md -------------------------------------------------------------------------------- /ch04StructuralPatterns/4.4装饰模式-Decorator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/4.4装饰模式-Decorator.md -------------------------------------------------------------------------------- /ch04StructuralPatterns/4.5外观模式-Facade.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/4.5外观模式-Facade.md -------------------------------------------------------------------------------- /ch04StructuralPatterns/4.6享元模式-Flyweight.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/4.6享元模式-Flyweight.md -------------------------------------------------------------------------------- /ch04StructuralPatterns/4.7代理模式-Proxy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/4.7代理模式-Proxy.md -------------------------------------------------------------------------------- /ch04StructuralPatterns/4.X结构型模式的讨论.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/4.X结构型模式的讨论.md -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/.gitignore -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/pom.xml -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example01/Adaptee.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example01/Adaptee.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example01/Adapter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example01/Adapter.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example01/Target.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example01/Target.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example02/Adaptee.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example02/Adaptee.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example02/Adapter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example02/Adapter.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example02/Target.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern41_Adapter/src/main/java/com/jueee/example02/Target.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/.gitignore -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/pom.xml -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/Abstraction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/Abstraction.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/ConcreteImplementor1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/ConcreteImplementor1.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/ConcreteImplementor2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/ConcreteImplementor2.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/Implementor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/Implementor.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/RefinedAbstraction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example01/RefinedAbstraction.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrand.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrand.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandM.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandM.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandMAddress.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandMAddress.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandMGame.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandMGame.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandN.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandN.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandNAddress.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandNAddress.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandNGame.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example02/HandsetBrandNGame.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetAddress.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetAddress.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetBrand.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetBrand.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetBrandM.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetBrandM.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetBrandN.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetBrandN.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetGame.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetGame.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetSoft.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example03/HandsetSoft.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetAddress.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetAddress.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetBrand.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetBrand.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetBrandM.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetBrandM.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetBrandN.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetBrandN.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetGame.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetGame.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetSoft.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern42_Bridge/src/main/java/com/jueee/example04/HandsetSoft.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/.gitignore -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/pom.xml -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example01/Component.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example01/Component.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example01/Composite.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example01/Composite.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example01/Leaf.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example01/Leaf.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example02/Component.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example02/Component.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example02/Composite.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example02/Composite.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example02/Leaf.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern43_Composite/src/main/java/com/jueee/example02/Leaf.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/.classpath: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/.classpath -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/.gitignore -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/.project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/.project -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/.settings/org.eclipse.core.resources.prefs -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/.settings/org.eclipse.jdt.core.prefs -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/.settings/org.eclipse.m2e.core.prefs -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/pom.xml -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/Component.java: -------------------------------------------------------------------------------- 1 | package com.jueee.example01; 2 | 3 | //抽象构件 4 | public interface Component { 5 | void operation(); 6 | } 7 | -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/ConcreteComponent.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/ConcreteComponent.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/ConcreteDecoratorA.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/ConcreteDecoratorA.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/ConcreteDecoratorB.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/ConcreteDecoratorB.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/Decorator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/Decorator.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/BlackBoarderDecorator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/BlackBoarderDecorator.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/Component.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/Component.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/ComponentDecorator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/ComponentDecorator.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/ListBox.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/ListBox.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/ScrollBarDecorator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/ScrollBarDecorator.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/TextBox.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/TextBox.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/Window.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example02/Window.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/Car.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/Car.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/FlyCar.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/FlyCar.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/Icar.java: -------------------------------------------------------------------------------- 1 | package com.jueee.example03; 2 | 3 | /** Component抽象构件角色 */ 4 | public interface Icar { 5 | 6 | void move(); 7 | 8 | } -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/SuperCar.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/SuperCar.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/WaterCar.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern44_Decorator/src/main/java/com/jueee/example03/WaterCar.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/.gitignore -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/pom.xml -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/Facade.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/Facade.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/SubSystemA.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/SubSystemA.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/SubSystemB.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/SubSystemB.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/SubSystemC.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example01/SubSystemC.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/Circle.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/Circle.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/Rectangle.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/Rectangle.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/Shape.java: -------------------------------------------------------------------------------- 1 | package com.jueee.example02; 2 | 3 | public interface Shape { 4 | void draw(); 5 | } -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/ShapeMaker.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/ShapeMaker.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/Square.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern45_Facade/src/main/java/com/jueee/example02/Square.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern46_Flyweight/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern46_Flyweight/.gitignore -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern46_Flyweight/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern46_Flyweight/pom.xml -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/ConcreteFlyweight.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/ConcreteFlyweight.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/Flyweight.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/Flyweight.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/FlyweightFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/FlyweightFactory.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/UnsharedConcreteFlyweight.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern46_Flyweight/src/main/java/com/jueee/example01/UnsharedConcreteFlyweight.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/.gitignore -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/pom.xml -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example01/ProxySubject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example01/ProxySubject.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example01/RealSubject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example01/RealSubject.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example01/Subject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example01/Subject.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example02/ProxySubject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example02/ProxySubject.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example02/RealSubject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example02/RealSubject.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example02/Subject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example02/Subject.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example03/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example03/ExampleMain.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example03/ProxySubject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example03/ProxySubject.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example03/RealSubject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example03/RealSubject.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example03/Subject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/Pattern47_Proxy/src/main/java/com/jueee/example03/Subject.java -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565349393507.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565349393507.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565349509338.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565349509338.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565612018171.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565612018171.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565695327762.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565695327762.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565695371156.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565695371156.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565695455117.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565695455117.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565695886859.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565695886859.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565695914170.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565695914170.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565695978673.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565695978673.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565698632203.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565698632203.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565767830410.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565767830410.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565773463280.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565773463280.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565773924986.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565773924986.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565773952765.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565773952765.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565773984146.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565773984146.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565774712189.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565774712189.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565775400963.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565775400963.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565775470726.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565775470726.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565849325007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565849325007.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565849703220.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565849703220.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565857047589.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565857047589.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565866423707.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565866423707.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565867280197.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565867280197.png -------------------------------------------------------------------------------- /ch04StructuralPatterns/assets/1565868086979.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch04StructuralPatterns/assets/1565868086979.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.01责任链模式-ChainOfResponsibility.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.01责任链模式-ChainOfResponsibility.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.02命令模式-Command.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.02命令模式-Command.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.03解释器模式-Interpreter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.03解释器模式-Interpreter.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.04迭代器模式-Iterator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.04迭代器模式-Iterator.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.05中介者模式-Mediator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.05中介者模式-Mediator.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.06备忘录模式-Memento.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.06备忘录模式-Memento.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.07观察者模式-Observer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.07观察者模式-Observer.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.08状态模式-State.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.08状态模式-State.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.09策略模式-Strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.09策略模式-Strategy.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.10模板方法模式-TemplateMethod.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.10模板方法模式-TemplateMethod.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.11访问者模式-Visitor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.11访问者模式-Visitor.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/5.XX行为模式的讨论.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/5.XX行为模式的讨论.md -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/Director.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/Director.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/GeneralManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/GeneralManager.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/Leader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/Leader.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/LeaveRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/LeaveRequest.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/Manager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/Manager.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/ViceGeneralManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example01/ViceGeneralManager.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/CEO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/CEO.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/Customer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/Customer.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/Manager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/Manager.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/PriceHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/PriceHandler.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/PriceHandlerFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/PriceHandlerFactory.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/Sales.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern501_ChainOfResponsibility/src/main/java/com/jueee/example02/Sales.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/Command.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/Command.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/ConcreteCommand.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/ConcreteCommand.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/Invoker.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/Invoker.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/Receiver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example01/Receiver.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/BuyCommand.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/BuyCommand.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/Command.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/Command.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/Invoker.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/Invoker.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/Receiver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/Receiver.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/SellCommand.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern502_Command/src/main/java/com/jueee/example02/SellCommand.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example01/AbstractExpression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example01/AbstractExpression.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example01/Context.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example01/Context.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example01/NonterminalExpression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example01/NonterminalExpression.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example01/TerminalExpression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example01/TerminalExpression.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/And.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/And.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Constant.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Constant.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Context.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Context.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Expression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Expression.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Not.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Not.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Or.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Or.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Variable.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example02/Variable.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/AndExpression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/AndExpression.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/Expression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/Expression.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/OrExpression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/OrExpression.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/TerminalExpression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example03/TerminalExpression.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/AbstractNode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/AbstractNode.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/ActionNode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/ActionNode.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/AndNode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/AndNode.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/DirectionNode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/DirectionNode.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/DistanceNode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/DistanceNode.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/InstructionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/InstructionHandler.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/SentenceNode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern503_Interpreter/src/main/java/com/jueee/example04/SentenceNode.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/Aggregate.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/Aggregate.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/ConcreteAggregate.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/ConcreteAggregate.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/ConcreteIterator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/ConcreteIterator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/Iterator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example01/Iterator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/AbstractIterator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/AbstractIterator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/AbstractObjectList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/AbstractObjectList.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/ConcreteObjectList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/ConcreteObjectList.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/ProducteIterator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern504_Iterator/src/main/java/com/jueee/example02/ProducteIterator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/Colleague.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/Colleague.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/ConcreteColleagueA.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/ConcreteColleagueA.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/ConcreteColleagueB.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/ConcreteColleagueB.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/ConcreteMediator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/ConcreteMediator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/Mediator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example01/Mediator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/AbstractColleague.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/AbstractColleague.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/ControllerMediator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/ControllerMediator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/IMediator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/IMediator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/ModelColleague.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/ModelColleague.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/ViewColleague.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern505_Mediator/src/main/java/com/jueee/example02/ViewColleague.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example01/Caretaker.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example01/Caretaker.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example01/Memento.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example01/Memento.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example01/Originator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example01/Originator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example02/Memento.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example02/Memento.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example02/MementoManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example02/MementoManager.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example02/Originator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern506_Memento/src/main/java/com/jueee/example02/Originator.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/Observer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/Observer.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/Subject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/Subject.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/SubscriptionSubject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/SubscriptionSubject.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/WeixinUser.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example01/WeixinUser.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/ConcreteObserver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/ConcreteObserver.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/ConcreteSubject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/ConcreteSubject.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/Observer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/Observer.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/Subject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example02/Subject.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/Boss.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/Boss.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/NBAObserver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/NBAObserver.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/Observer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/Observer.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/Secretary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/Secretary.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/StockObserver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/StockObserver.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/Subject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example03/Subject.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/AllyControlCenter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/AllyControlCenter.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/ConrecteAllyControlCenter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/ConrecteAllyControlCenter.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/Observer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/Observer.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/Player.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern507_Observer/src/main/java/com/jueee/example04/Player.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/Context.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/Context.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/StartState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/StartState.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/State.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/State.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/StopState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example01/StopState.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/BlueState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/BlueState.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/Context.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/Context.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/GreenState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/GreenState.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/RedState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/RedState.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/State.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example02/State.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/Context.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/Context.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/FirstState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/FirstState.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/SecondState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/SecondState.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/State.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/State.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/ThirdState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern508_State/src/main/java/com/jueee/example03/ThirdState.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/Context.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/Context.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/Strategy.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/Strategy.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/StrategyA.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/StrategyA.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/StrategyB.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/StrategyB.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/StrategyC.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example01/StrategyC.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/Context.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/Context.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/Strategy.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/Strategy.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/StrategyA.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/StrategyA.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/StrategyB.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/StrategyB.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/StrategyC.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example02/StrategyC.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/Context.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/Context.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/Strategy.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/Strategy.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/StrategyA.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/StrategyA.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/StrategyB.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/StrategyB.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/StrategyC.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/StrategyC.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern509_Strategy/src/main/java/com/jueee/example03/StrategyTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.jueee.example03; 2 | 3 | public enum StrategyTypeEnum { 4 | 折扣,满减,原价; 5 | } 6 | -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example01/AbstractClass.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example01/AbstractClass.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example01/ContreteTemplateA.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example01/ContreteTemplateA.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example01/ContreteTemplateB.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example01/ContreteTemplateB.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/AbstractMySQLExecute.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/AbstractMySQLExecute.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/Book.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/Book.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/Book.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/Book.sql -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/BookBatchMySQLExecute.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/BookBatchMySQLExecute.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/BookMySQLExecute.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/BookMySQLExecute.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern510_TemplateMethod/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/.gitignore -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/pom.xml -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/Element.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/Element.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/ObjectStructure.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/ObjectStructure.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/PartA.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/PartA.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/PartB.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/PartB.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/Visitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/Visitor.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/VisitorA.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/VisitorA.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/VisitorB.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/VisitorB.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/VisitorCEO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example01/VisitorCEO.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/Computer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/Computer.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/ComputerPart.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/ComputerPart.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/ComputerPartDisplayVisitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/ComputerPartDisplayVisitor.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/ComputerPartVisitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/ComputerPartVisitor.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/ExampleMain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/ExampleMain.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/Keyboard.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/Keyboard.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/Monitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/Monitor.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/Mouse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/Pattern511_Visitor/src/main/java/com/jueee/example02/Mouse.java -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1565925979863.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1565925979863.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1565934690848.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1565934690848.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1565934737067.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1565934737067.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1565940294322.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1565940294322.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1565944140348.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1565944140348.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566204300213.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566204300213.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566206365127.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566206365127.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566206385894.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566206385894.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566266011822.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566266011822.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566267051781.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566267051781.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566267474832.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566267474832.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566898065456.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566898065456.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566898089575.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566898089575.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566898141019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566898141019.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566898170178.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566898170178.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566898190569.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566898190569.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566898195489.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566898195489.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1566898220263.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1566898220263.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567424210382.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567424210382.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567425038113.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567425038113.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567512205454.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567512205454.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567512227968.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567512227968.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567512257458.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567512257458.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567512285258.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567512285258.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567649330854.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567649330854.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567649361024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567649361024.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567649388879.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567649388879.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567685723950.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567685723950.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567685900846.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567685900846.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1567685908835.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1567685908835.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1568097180225.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1568097180225.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1568097209822.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1568097209822.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1568101297817.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1568101297817.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1568101316288.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1568101316288.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1568103769422.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1568103769422.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1568114770968.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1568114770968.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1568114806457.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1568114806457.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1568114821955.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1568114821955.png -------------------------------------------------------------------------------- /ch05BehavioralPatterns/assets/1568114856712.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jueee/design-patterns/HEAD/ch05BehavioralPatterns/assets/1568114856712.png --------------------------------------------------------------------------------