Download Java Design Patterns Free Java Code

Description

Examples of Java Design Patterns based on book "Patterns in Java" Makr Grand.

Source Files

The download file Java-Design-Patterns-master.zip has the following entries.


.gitignore/*ww w.  j av  a  2  s  .  com*/
README.md
src/com/moleksyuk/chapter4/AbstractSuperClass/AbstractSuperClass.java
src/com/moleksyuk/chapter4/AbstractSuperClass/ArrayListIterator.java
src/com/moleksyuk/chapter4/AbstractSuperClass/CustomIterator.java
src/com/moleksyuk/chapter4/AbstractSuperClass/Main.java
src/com/moleksyuk/chapter4/Delegation/ConcreteDelegate1.java
src/com/moleksyuk/chapter4/Delegation/ConcreteDelegate2.java
src/com/moleksyuk/chapter4/Delegation/Delegator.java
src/com/moleksyuk/chapter4/Delegation/IDelegation.java
src/com/moleksyuk/chapter4/Delegation/Main.java
src/com/moleksyuk/chapter4/Immutable/Immutable.java
src/com/moleksyuk/chapter4/Immutable/Main.java
src/com/moleksyuk/chapter4/Interface/AddressService.java
src/com/moleksyuk/chapter4/Interface/Apple.java
src/com/moleksyuk/chapter4/Interface/IAddress.java
src/com/moleksyuk/chapter4/Interface/IBM.java
src/com/moleksyuk/chapter4/Interface/Main.java
src/com/moleksyuk/chapter4/Interface/Microsoft.java
src/com/moleksyuk/chapter4/InterfaceAndAbstractClass/AbstractDoubleLink.java
src/com/moleksyuk/chapter4/InterfaceAndAbstractClass/ComplexDoubleLinkedList.java
src/com/moleksyuk/chapter4/InterfaceAndAbstractClass/IDoubleLink.java
src/com/moleksyuk/chapter4/InterfaceAndAbstractClass/Main.java
src/com/moleksyuk/chapter4/InterfaceAndAbstractClass/SimpleDoubleLinkedList.java
src/com/moleksyuk/chapter4/MarkerInterface/Main.java
src/com/moleksyuk/chapter4/MarkerInterface/MarkedClass.java
src/com/moleksyuk/chapter4/MarkerInterface/MarkerInterface.java
src/com/moleksyuk/chapter4/MarkerInterface/NotMarkedClass.java
src/com/moleksyuk/chapter4/MarkerInterface/Worker.java
src/com/moleksyuk/chapter4/Proxy/IGraphic.java
src/com/moleksyuk/chapter4/Proxy/Image.java
src/com/moleksyuk/chapter4/Proxy/ImageProxy.java
src/com/moleksyuk/chapter4/Proxy/Main.java
src/com/moleksyuk/chapter5/AbstractFactory/AbstractFactory.java
src/com/moleksyuk/chapter5/AbstractFactory/ArchitectureToolkit_x64.java
src/com/moleksyuk/chapter5/AbstractFactory/ArchitectureToolkit_x86.java
src/com/moleksyuk/chapter5/AbstractFactory/ArchitectureType.java
src/com/moleksyuk/chapter5/AbstractFactory/CPU.java
src/com/moleksyuk/chapter5/AbstractFactory/CPU_x64.java
src/com/moleksyuk/chapter5/AbstractFactory/CPU_x86.java
src/com/moleksyuk/chapter5/AbstractFactory/IArchitectureToolkit.java
src/com/moleksyuk/chapter5/AbstractFactory/MMU.java
src/com/moleksyuk/chapter5/AbstractFactory/MMU_x64.java
src/com/moleksyuk/chapter5/AbstractFactory/MMU_x86.java
src/com/moleksyuk/chapter5/AbstractFactory/Main.java
src/com/moleksyuk/chapter5/Builder/Main.java
src/com/moleksyuk/chapter5/Builder/Pizza.java
src/com/moleksyuk/chapter5/FactoryMethod/CellPhonetTypes.java
src/com/moleksyuk/chapter5/FactoryMethod/FactoryMethod.java
src/com/moleksyuk/chapter5/FactoryMethod/HTC.java
src/com/moleksyuk/chapter5/FactoryMethod/ICellPhone.java
src/com/moleksyuk/chapter5/FactoryMethod/IPhone.java
src/com/moleksyuk/chapter5/FactoryMethod/Main.java
src/com/moleksyuk/chapter5/FactoryMethod/Samsung.java
src/com/moleksyuk/chapter5/ObjectPool/FakeConnection.java
src/com/moleksyuk/chapter5/ObjectPool/JDBCConnectionPool.java
src/com/moleksyuk/chapter5/ObjectPool/Main.java
src/com/moleksyuk/chapter5/ObjectPool/ObjectPool.java
src/com/moleksyuk/chapter5/Prototype/Book.java
src/com/moleksyuk/chapter5/Prototype/DVD.java
src/com/moleksyuk/chapter5/Prototype/Main.java
src/com/moleksyuk/chapter5/Prototype/Product.java
src/com/moleksyuk/chapter5/Prototype/ProductCache.java
src/com/moleksyuk/chapter5/Singleton/Main.java
src/com/moleksyuk/chapter5/Singleton/Singleton.java
src/com/moleksyuk/chapter5/Singleton/SingletonLazy.java
src/com/moleksyuk/chapter5/Singleton/SingletonThreadSafe.java
src/com/moleksyuk/chapter6/Composite/AbstractDocumentElement.java
src/com/moleksyuk/chapter6/Composite/CompositeDocumentElement.java
src/com/moleksyuk/chapter6/Composite/IDocumentElement.java
src/com/moleksyuk/chapter6/Composite/Image.java
src/com/moleksyuk/chapter6/Composite/Page.java
src/com/moleksyuk/chapter6/Filter/ByteCountInStream.java
src/com/moleksyuk/chapter6/Filter/FileInStream.java
src/com/moleksyuk/chapter6/Filter/FilterInStream.java
src/com/moleksyuk/chapter6/Filter/IInStream.java
src/com/moleksyuk/chapter6/Filter/TranslateInStream.java
src/com/moleksyuk/chapter6/ReadOnlyInterface/ITemperature.java
src/com/moleksyuk/chapter6/ReadOnlyInterface/TemperatureData.java
src/com/moleksyuk/chapter6/ReadOnlyInterface/TemperatureEvent.java
src/com/moleksyuk/chapter6/ReadOnlyInterface/TemperatureListener.java
src/com/moleksyuk/chapter7/Adapter/IShape.java
src/com/moleksyuk/chapter7/Adapter/Line.java
src/com/moleksyuk/chapter7/Adapter/LineAdapter.java
src/com/moleksyuk/chapter7/Adapter/Main.java
src/com/moleksyuk/chapter7/Adapter/Rectangle.java
src/com/moleksyuk/chapter7/Adapter/RectangleAdapter.java
src/com/moleksyuk/chapter7/Bridge/AveragingSensor.java
src/com/moleksyuk/chapter7/Bridge/IAveragingSensor.java
src/com/moleksyuk/chapter7/Bridge/ISimpleSensor.java
src/com/moleksyuk/chapter7/Bridge/IStreamingSensor.java
src/com/moleksyuk/chapter7/Bridge/IStreamingSensorListener.java
src/com/moleksyuk/chapter7/Bridge/SensorException.java
src/com/moleksyuk/chapter7/Bridge/SimpleSensor.java
src/com/moleksyuk/chapter7/Bridge/StreamingSensor.java
src/com/moleksyuk/chapter7/CacheManagment/CleanupQueue.java
src/com/moleksyuk/chapter7/CacheManagment/EmployeeCache.java
src/com/moleksyuk/chapter7/CacheManagment/EmployeeID.java
src/com/moleksyuk/chapter7/CacheManagment/EmployeeProfile.java
src/com/moleksyuk/chapter7/CacheManagment/EmployeeProfileFetcher.java
src/com/moleksyuk/chapter7/CacheManagment/EmployeeProfileManager.java
src/com/moleksyuk/chapter7/CacheManagment/ICleanup.java
src/com/moleksyuk/chapter7/CacheManagment/SoftCleanupReference.java
src/com/moleksyuk/chapter7/Decorator/AbstractDecorator.java
src/com/moleksyuk/chapter7/Decorator/ConcreteDecorator.java
src/com/moleksyuk/chapter7/Decorator/IAnotherComponent.java
src/com/moleksyuk/chapter7/Decorator/IComponent.java
src/com/moleksyuk/chapter7/DynamicLinkage/AbstractFoodProcessorProgram.java
src/com/moleksyuk/chapter7/DynamicLinkage/ConcreteFoodProcessorProgram.java
src/com/moleksyuk/chapter7/DynamicLinkage/FoodProcessorEnvironment.java
src/com/moleksyuk/chapter7/DynamicLinkage/IFoodProcessorProgram.java
src/com/moleksyuk/chapter7/Facade/Message.java
src/com/moleksyuk/chapter7/Facade/MessageCreator.java
src/com/moleksyuk/chapter7/Facade/RichText.java
src/com/moleksyuk/chapter7/Facade/RichTextString.java
src/com/moleksyuk/chapter7/Flyweight/DocChar.java
src/com/moleksyuk/chapter7/Flyweight/DocCharFactory.java
src/com/moleksyuk/chapter7/Flyweight/DocumentContainer.java
src/com/moleksyuk/chapter7/Flyweight/DocumentElement.java
src/com/moleksyuk/chapter7/Iterator/CustomArrayList.java
src/com/moleksyuk/chapter7/Iterator/Iterator.java
src/com/moleksyuk/chapter7/Iterator/Main.java
src/com/moleksyuk/chapter7/VirtualProxy/CabinetAssistantProxy.java
src/com/moleksyuk/chapter7/VirtualProxy/ConcreteCabinetAssistant.java
src/com/moleksyuk/chapter7/VirtualProxy/ICabinetAssistant.java
src/com/moleksyuk/chapter7/VirtualProxy/Main.java
src/com/moleksyuk/chapter8/ChainOfResponsibility/ConcreteHandlerA.java
src/com/moleksyuk/chapter8/ChainOfResponsibility/ConcreteHandlerB.java
src/com/moleksyuk/chapter8/ChainOfResponsibility/IChainOfResposibility.java
src/com/moleksyuk/chapter8/ChainOfResponsibility/Main.java
src/com/moleksyuk/chapter8/Command/CommandManager.java
src/com/moleksyuk/chapter8/Command/ICommand.java
src/com/moleksyuk/chapter8/Command/Light.java
src/com/moleksyuk/chapter8/Command/LightOff.java
src/com/moleksyuk/chapter8/Command/LightOn.java
src/com/moleksyuk/chapter8/Command/Main.java
src/com/moleksyuk/chapter8/Mediator/ApplicationMediator.java
src/com/moleksyuk/chapter8/Mediator/Colleague.java
src/com/moleksyuk/chapter8/Mediator/DesktopColleague.java
src/com/moleksyuk/chapter8/Mediator/IMediator.java
src/com/moleksyuk/chapter8/Mediator/Main.java
src/com/moleksyuk/chapter8/Mediator/MobileColleague.java
src/com/moleksyuk/chapter8/NullObject/IWarningRouter.java
src/com/moleksyuk/chapter8/NullObject/IgnoreWarning.java
src/com/moleksyuk/chapter8/NullObject/Main.java
src/com/moleksyuk/chapter8/NullObject/WarningDialog.java
src/com/moleksyuk/chapter8/Observer/DataStore.java
src/com/moleksyuk/chapter8/Observer/Main.java
src/com/moleksyuk/chapter8/Observer/Screen.java
src/com/moleksyuk/chapter8/Shapshot/Editor.java
src/com/moleksyuk/chapter8/Shapshot/EditorMemento.java
src/com/moleksyuk/chapter8/Shapshot/Main.java
src/com/moleksyuk/chapter8/State/IState.java
src/com/moleksyuk/chapter8/State/Main.java
src/com/moleksyuk/chapter8/State/StateA.java
src/com/moleksyuk/chapter8/State/StateB.java
src/com/moleksyuk/chapter8/State/StateContext.java
src/com/moleksyuk/chapter8/Strategy/ConcreteStrategyA.java
src/com/moleksyuk/chapter8/Strategy/ConcreteStrategyB.java
src/com/moleksyuk/chapter8/Strategy/Context.java
src/com/moleksyuk/chapter8/Strategy/IStrategy.java
src/com/moleksyuk/chapter8/Strategy/Main.java
src/com/moleksyuk/chapter8/TemplateMethod/AbstractTemplateMethod.java
src/com/moleksyuk/chapter8/TemplateMethod/HtmlBuilder.java
src/com/moleksyuk/chapter8/TemplateMethod/Main.java
src/com/moleksyuk/chapter8/TemplateMethod/SoapBuilder.java
src/com/moleksyuk/chapter8/Visitor/Book.java
src/com/moleksyuk/chapter8/Visitor/CD.java
src/com/moleksyuk/chapter8/Visitor/DVD.java
src/com/moleksyuk/chapter8/Visitor/IVisitable.java
src/com/moleksyuk/chapter8/Visitor/IVisitor.java
src/com/moleksyuk/chapter8/Visitor/Main.java
src/com/moleksyuk/chapter8/Visitor/PostageVisitor.java
src/com/moleksyuk/chapter9/AsynchronousProcessing/CancelFrame.java
src/com/moleksyuk/chapter9/AsynchronousProcessing/Main.java
src/com/moleksyuk/chapter9/Balking/Flusher.java
src/com/moleksyuk/chapter9/DoubleBuffering/DoubleBufferedInputStream.java
src/com/moleksyuk/chapter9/Future/AsynchronousFuture.java
src/com/moleksyuk/chapter9/Future/Coordinate.java
src/com/moleksyuk/chapter9/Future/IWeatherFetch.java
src/com/moleksyuk/chapter9/Future/WeatherFuture.java
src/com/moleksyuk/chapter9/Future/WeatherRequester.java
src/com/moleksyuk/chapter9/GuardedSuspension/Queue.java
src/com/moleksyuk/chapter9/LockObject/AbstractGameObject.java
src/com/moleksyuk/chapter9/LockObject/AbstractWeapons.java
src/com/moleksyuk/chapter9/LockObject/GameCharacter.java
src/com/moleksyuk/chapter9/ProducerConsumer/Client.java
src/com/moleksyuk/chapter9/ProducerConsumer/Dispatcher.java
src/com/moleksyuk/chapter9/ProducerConsumer/Queue.java
src/com/moleksyuk/chapter9/ProducerConsumer/TroubleTiket.java
src/com/moleksyuk/chapter9/ReadWriteLock/Bid.java
src/com/moleksyuk/chapter9/ReadWriteLock/ReadWriteLock.java
src/com/moleksyuk/chapter9/Scheduler/JournalEntry.java
src/com/moleksyuk/chapter9/Scheduler/Printer.java
src/com/moleksyuk/chapter9/Scheduler/ScheduleOrdering.java
src/com/moleksyuk/chapter9/Scheduler/Scheduler.java
src/com/moleksyuk/chapter9/SingleThreadedExecution/TrafficSensor.java
src/com/moleksyuk/chapter9/SingleThreadedExecution/TrafficSensorController.java
src/com/moleksyuk/chapter9/SingleThreadedExecution/TrafficTransmitter.java
src/com/moleksyuk/chapter9/TwoPhaseTermination/Portfolio.java
src/com/moleksyuk/chapter9/TwoPhaseTermination/Session.java

Download

Click the following link to download Java-Design-Patterns-master.zip.

Java-Design-Patterns-master.zip




















Home »
  Java Free Code »
    Book »




Book
Book Algorithm
Book Design Patterns
Book Example
Book Hadoop
Book JEE
Book Maven
Book Spring