├── Derek Banas ├── Observer Design Pattern │ ├── README.md │ └── com.derekbanas.observer │ │ ├── GrabStocks.java │ │ ├── Observer.java │ │ ├── README.md │ │ ├── StockGrabber.java │ │ ├── StockObserver.java │ │ └── Subject.java └── Strategy Design Pattern │ ├── README.md │ └── com.derekbanas.strategy │ ├── Animal.java │ ├── AnimalPlay.java │ ├── Bird.java │ ├── CantFly.java │ ├── Dog.java │ ├── Flys.java │ └── ItFlys.java ├── Others ├── Adapter Design Pattern │ ├── Adapter Design Pattern - Coding Simplified │ │ └── com.codingsimplified.adapter │ │ │ └── WebDriverExample.java │ └── README.md ├── Bridge Design Pattern │ ├── Bridge Design Pattern - Coding Simplified │ │ └── com.codingsimplified.bridge │ │ │ └── Client.java │ └── README.md ├── Builder Design Pattern │ ├── Builder Design Pattern - Coding Simplified │ │ └── com.codingsimplified.builder │ │ │ └── VehicleBuilderExample.java │ └── README.md ├── Composite Design Pattern │ ├── Composite Design Pattern - Coding Simplified │ │ └── CompositeExample.java │ └── README.md ├── Decorator Design Pattern │ ├── Decorator Design Pattern - Coding Simplified │ │ └── com.codingsimplified.decorator │ │ │ └── DressDecoratorExample.java │ └── README.md ├── Facade Design Pattern │ ├── Facade Design Pattern - Coding Simplified │ │ └── com.codingsimplified.facade │ │ │ └── WebExplorerHelperFacade.java │ └── README.md ├── Factory Design Pattern │ ├── Factory Design Pattern - Coding Simplified │ │ ├── README.md │ │ └── com.codingsimplified.factory │ │ │ └── FactoryPatternExample.java │ ├── Factory Design Pattern - javaTpoint │ │ ├── README.md │ │ └── com.javaTpoint.factory │ │ │ ├── CommercialPlan.java │ │ │ ├── DomesticPlan.java │ │ │ ├── GenerateBill.java │ │ │ ├── GetPlanFactory.java │ │ │ ├── InstitutionalPlan.java │ │ │ └── Plan.java │ └── README.md ├── Flyweight Design Pattern │ ├── Flyweight Design Pattern - Coding Simplified │ │ └── com.codingsimplified.flyweight │ │ │ └── EngineeringFlyweight.java │ └── README.md ├── Observer Design Pattern │ ├── Observer Design Pattern - Coding Simplified │ │ └── com.codingsimplified.observer │ │ │ └── ObserverPatternTest.java │ └── README.md ├── Prototype Design Pattern │ ├── Prototype Design Pattern - Coding Simplified │ │ └── com.codingsimplified.prototype │ │ │ └── VehiclePrototypeExample.java │ └── README.md ├── Proxy Design Pattern │ ├── Proxy Design Pattern - Coding Simplified │ │ └── com.codingsimplified.proxy │ │ │ └── DBExecutorProxyExample.java │ ├── Proxy Design Pattern - javaTpoint │ │ └── com.javaTpoint.proxy │ │ │ └── README.md │ └── README.md ├── README.md └── Singleton Design Pattern │ ├── README.md │ ├── Singleton Design Pattern - Coding Simplified │ └── com.codingsimplified.singleton │ │ ├── SingletonEagerInitiaization.java │ │ ├── SingletonLazyInitialization.java │ │ ├── SingletonSynchronizedBlock.java │ │ └── SingletonSynchronizedMethod.java │ └── Singleton Design Pattern - GeeksForGeeks │ └── com.geeksforgeeks.singleton │ └── Singleton.java ├── README.md ├── coffee.pdf └── ecoop93-patterns.pdf /Derek Banas/Observer Design Pattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Observer Design Pattern/README.md -------------------------------------------------------------------------------- /Derek Banas/Observer Design Pattern/com.derekbanas.observer/GrabStocks.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Observer Design Pattern/com.derekbanas.observer/GrabStocks.java -------------------------------------------------------------------------------- /Derek Banas/Observer Design Pattern/com.derekbanas.observer/Observer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Observer Design Pattern/com.derekbanas.observer/Observer.java -------------------------------------------------------------------------------- /Derek Banas/Observer Design Pattern/com.derekbanas.observer/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Derek Banas/Observer Design Pattern/com.derekbanas.observer/StockGrabber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Observer Design Pattern/com.derekbanas.observer/StockGrabber.java -------------------------------------------------------------------------------- /Derek Banas/Observer Design Pattern/com.derekbanas.observer/StockObserver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Observer Design Pattern/com.derekbanas.observer/StockObserver.java -------------------------------------------------------------------------------- /Derek Banas/Observer Design Pattern/com.derekbanas.observer/Subject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Observer Design Pattern/com.derekbanas.observer/Subject.java -------------------------------------------------------------------------------- /Derek Banas/Strategy Design Pattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Strategy Design Pattern/README.md -------------------------------------------------------------------------------- /Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/Animal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/Animal.java -------------------------------------------------------------------------------- /Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/AnimalPlay.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/AnimalPlay.java -------------------------------------------------------------------------------- /Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/Bird.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/Bird.java -------------------------------------------------------------------------------- /Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/CantFly.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/CantFly.java -------------------------------------------------------------------------------- /Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/Dog.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/Dog.java -------------------------------------------------------------------------------- /Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/Flys.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/Flys.java -------------------------------------------------------------------------------- /Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/ItFlys.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Derek Banas/Strategy Design Pattern/com.derekbanas.strategy/ItFlys.java -------------------------------------------------------------------------------- /Others/Adapter Design Pattern/Adapter Design Pattern - Coding Simplified/com.codingsimplified.adapter/WebDriverExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Adapter Design Pattern/Adapter Design Pattern - Coding Simplified/com.codingsimplified.adapter/WebDriverExample.java -------------------------------------------------------------------------------- /Others/Adapter Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Bridge Design Pattern/Bridge Design Pattern - Coding Simplified/com.codingsimplified.bridge/Client.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Bridge Design Pattern/Bridge Design Pattern - Coding Simplified/com.codingsimplified.bridge/Client.java -------------------------------------------------------------------------------- /Others/Bridge Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Builder Design Pattern/Builder Design Pattern - Coding Simplified/com.codingsimplified.builder/VehicleBuilderExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Builder Design Pattern/Builder Design Pattern - Coding Simplified/com.codingsimplified.builder/VehicleBuilderExample.java -------------------------------------------------------------------------------- /Others/Builder Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Composite Design Pattern/Composite Design Pattern - Coding Simplified/CompositeExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Composite Design Pattern/Composite Design Pattern - Coding Simplified/CompositeExample.java -------------------------------------------------------------------------------- /Others/Composite Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Decorator Design Pattern/Decorator Design Pattern - Coding Simplified/com.codingsimplified.decorator/DressDecoratorExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Decorator Design Pattern/Decorator Design Pattern - Coding Simplified/com.codingsimplified.decorator/DressDecoratorExample.java -------------------------------------------------------------------------------- /Others/Decorator Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Facade Design Pattern/Facade Design Pattern - Coding Simplified/com.codingsimplified.facade/WebExplorerHelperFacade.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Facade Design Pattern/Facade Design Pattern - Coding Simplified/com.codingsimplified.facade/WebExplorerHelperFacade.java -------------------------------------------------------------------------------- /Others/Facade Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Factory Design Pattern/Factory Design Pattern - Coding Simplified/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Factory Design Pattern/Factory Design Pattern - Coding Simplified/com.codingsimplified.factory/FactoryPatternExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Factory Design Pattern/Factory Design Pattern - Coding Simplified/com.codingsimplified.factory/FactoryPatternExample.java -------------------------------------------------------------------------------- /Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/README.md: -------------------------------------------------------------------------------- 1 | https://www.javatpoint.com/factory-method-design-pattern 2 | -------------------------------------------------------------------------------- /Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/CommercialPlan.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/CommercialPlan.java -------------------------------------------------------------------------------- /Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/DomesticPlan.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/DomesticPlan.java -------------------------------------------------------------------------------- /Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/GenerateBill.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/GenerateBill.java -------------------------------------------------------------------------------- /Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/GetPlanFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/GetPlanFactory.java -------------------------------------------------------------------------------- /Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/InstitutionalPlan.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/InstitutionalPlan.java -------------------------------------------------------------------------------- /Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/Plan.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Factory Design Pattern/Factory Design Pattern - javaTpoint/com.javaTpoint.factory/Plan.java -------------------------------------------------------------------------------- /Others/Factory Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Flyweight Design Pattern/Flyweight Design Pattern - Coding Simplified/com.codingsimplified.flyweight/EngineeringFlyweight.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Flyweight Design Pattern/Flyweight Design Pattern - Coding Simplified/com.codingsimplified.flyweight/EngineeringFlyweight.java -------------------------------------------------------------------------------- /Others/Flyweight Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Observer Design Pattern/Observer Design Pattern - Coding Simplified/com.codingsimplified.observer/ObserverPatternTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Observer Design Pattern/Observer Design Pattern - Coding Simplified/com.codingsimplified.observer/ObserverPatternTest.java -------------------------------------------------------------------------------- /Others/Observer Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Prototype Design Pattern/Prototype Design Pattern - Coding Simplified/com.codingsimplified.prototype/VehiclePrototypeExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Prototype Design Pattern/Prototype Design Pattern - Coding Simplified/com.codingsimplified.prototype/VehiclePrototypeExample.java -------------------------------------------------------------------------------- /Others/Prototype Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Proxy Design Pattern/Proxy Design Pattern - Coding Simplified/com.codingsimplified.proxy/DBExecutorProxyExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Proxy Design Pattern/Proxy Design Pattern - Coding Simplified/com.codingsimplified.proxy/DBExecutorProxyExample.java -------------------------------------------------------------------------------- /Others/Proxy Design Pattern/Proxy Design Pattern - javaTpoint/com.javaTpoint.proxy/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Proxy Design Pattern/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Others/Singleton Design Pattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Singleton Design Pattern/README.md -------------------------------------------------------------------------------- /Others/Singleton Design Pattern/Singleton Design Pattern - Coding Simplified/com.codingsimplified.singleton/SingletonEagerInitiaization.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Singleton Design Pattern/Singleton Design Pattern - Coding Simplified/com.codingsimplified.singleton/SingletonEagerInitiaization.java -------------------------------------------------------------------------------- /Others/Singleton Design Pattern/Singleton Design Pattern - Coding Simplified/com.codingsimplified.singleton/SingletonLazyInitialization.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Singleton Design Pattern/Singleton Design Pattern - Coding Simplified/com.codingsimplified.singleton/SingletonLazyInitialization.java -------------------------------------------------------------------------------- /Others/Singleton Design Pattern/Singleton Design Pattern - Coding Simplified/com.codingsimplified.singleton/SingletonSynchronizedBlock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Singleton Design Pattern/Singleton Design Pattern - Coding Simplified/com.codingsimplified.singleton/SingletonSynchronizedBlock.java -------------------------------------------------------------------------------- /Others/Singleton Design Pattern/Singleton Design Pattern - Coding Simplified/com.codingsimplified.singleton/SingletonSynchronizedMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Singleton Design Pattern/Singleton Design Pattern - Coding Simplified/com.codingsimplified.singleton/SingletonSynchronizedMethod.java -------------------------------------------------------------------------------- /Others/Singleton Design Pattern/Singleton Design Pattern - GeeksForGeeks/com.geeksforgeeks.singleton/Singleton.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/Others/Singleton Design Pattern/Singleton Design Pattern - GeeksForGeeks/com.geeksforgeeks.singleton/Singleton.java -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Design-Patterns -------------------------------------------------------------------------------- /coffee.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/coffee.pdf -------------------------------------------------------------------------------- /ecoop93-patterns.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/archygupta/Design-Patterns/HEAD/ecoop93-patterns.pdf --------------------------------------------------------------------------------