文件名称:javaDesign
介绍说明--下载内容均来自于网络,请自行研究使用
23种java设计模式,附有源代码,不过注释是日文的
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 29782216javadesign.zip 列表 readme.txt src/AbstractFactory/A2/factory/Factory.java src/AbstractFactory/A2/factory/Item.java src/AbstractFactory/A2/factory/Link.java src/AbstractFactory/A2/factory/Page.java src/AbstractFactory/A2/factory/Tray.java src/AbstractFactory/A2/listfactory/ListFactory.java src/AbstractFactory/A2/listfactory/ListLink.java src/AbstractFactory/A2/listfactory/ListPage.java src/AbstractFactory/A2/listfactory/ListTray.java src/AbstractFactory/A2/Main.java src/AbstractFactory/A2/tablefactory/TableFactory.java src/AbstractFactory/A2/tablefactory/TableLink.java src/AbstractFactory/A2/tablefactory/TablePage.java src/AbstractFactory/A2/tablefactory/TableTray.java src/AbstractFactory/Sample/factory/Factory.java src/AbstractFactory/Sample/factory/Item.java src/AbstractFactory/Sample/factory/Link.java src/AbstractFactory/Sample/factory/Page.java src/AbstractFactory/Sample/factory/Tray.java src/AbstractFactory/Sample/listfactory/ListFactory.java src/AbstractFactory/Sample/listfactory/ListLink.java src/AbstractFactory/Sample/listfactory/ListPage.java src/AbstractFactory/Sample/listfactory/ListTray.java src/AbstractFactory/Sample/Main.java src/AbstractFactory/Sample/tablefactory/TableFactory.java src/AbstractFactory/Sample/tablefactory/TableLink.java src/AbstractFactory/Sample/tablefactory/TablePage.java src/AbstractFactory/Sample/tablefactory/TableTray.java src/Adapter/A2/file.txt src/Adapter/A2/FileIO.java src/Adapter/A2/FileProperties.java src/Adapter/A2/Main.java src/Adapter/Q2/file.txt src/Adapter/Q2/FileIO.java src/Adapter/Q2/Main.java src/Adapter/Q2/newfile.txt src/Adapter/Sample1/Banner.java src/Adapter/Sample1/Main.java src/Adapter/Sample1/Print.java src/Adapter/Sample1/PrintBanner.java src/Adapter/Sample2/Banner.java src/Adapter/Sample2/Main.java src/Adapter/Sample2/Print.java src/Adapter/Sample2/PrintBanner.java src/Bridge/A1/CountDisplay.java src/Bridge/A1/Display.java src/Bridge/A1/DisplayImpl.java src/Bridge/A1/Main.java src/Bridge/A1/RandomCountDisplay.java src/Bridge/A1/StringDisplayImpl.java src/Bridge/A2/CountDisplay.java src/Bridge/A2/Display.java src/Bridge/A2/DisplayImpl.java src/Bridge/A2/FileDisplayImpl.java src/Bridge/A2/Main.java src/Bridge/A2/RandomCountDisplay.java src/Bridge/A2/star.txt src/Bridge/A2/StringDisplayImpl.java src/Bridge/A3/CharDisplayImpl.java src/Bridge/A3/CountDisplay.java src/Bridge/A3/Display.java src/Bridge/A3/DisplayImpl.java src/Bridge/A3/IncreaseDisplay.java src/Bridge/A3/Main.java src/Bridge/A3/StringDisplayImpl.java src/Bridge/Sample/CountDisplay.java src/Bridge/Sample/Display.java src/Bridge/Sample/DisplayImpl.java src/Bridge/Sample/Main.java src/Bridge/Sample/StringDisplayImpl.java src/Builder/A2/Builder.java src/Builder/A2/Director.java src/Builder/A2/HTMLBuilder.java src/Builder/A2/Main.java src/Builder/A2/TextBuilder.java src/Builder/A3/Builder.java src/Builder/A3/Director.java src/Builder/A3/FrameBuilder.java src/Builder/A3/Main.java src/Builder/A4/Builder.java src/Builder/A4/Director.java src/Builder/A4/HTMLBuilder.java src/Builder/A4/Main.java src/Builder/A4/TextBuilder.java src/Builder/Sample/Builder.java src/Builder/Sample/Director.java src/Builder/Sample/HTMLBuilder.java src/Builder/Sample/Main.java src/Builder/Sample/TextBuilder.java src/ChainOfResponsibility/A4/LimitSupport.java src/ChainOfResponsibility/A4/Main.java src/ChainOfResponsibility/A4/NoSupport.java src/ChainOfResponsibility/A4/OddSupport.java src/ChainOfResponsibility/A4/SpecialSupport.java src/ChainOfResponsibility/A4/Support.java src/ChainOfResponsibility/A4/Trouble.java src/ChainOfResponsibility/Sample/LimitSupport.java src/ChainOfResponsibility/Sample/Main.java src/ChainOfResponsibility/Sample/NoSupport.java src/ChainOfResponsibility/Sample/OddSupport.java src/ChainOfResponsibility/Sample/SpecialSupport.java src/ChainOfResponsibility/Sample/Support.java src/ChainOfResponsibility/Sample/Trouble.java src/Command/A1/command/Command.java src/Command/A1/command/MacroCommand.java src/Command/A1/drawer/ColorCommand.java src/Command/A1/drawer/Drawable.java src/Command/A1/drawer/DrawCanvas.java src/Command/A1/drawer/DrawCommand.java src/Command/A1/Main.java src/Command/A2/command/Command.java src/Command/A2/command/MacroCommand.java src/Command/A2/drawer/Drawable.java src/Command/A2/drawer/DrawCanvas.java src/Command/A2/drawer/DrawCommand.java src/Command/A2/Main.java src/Command/A3/command/Command.java src/Command/A3/command/MacroCommand.java src/Command/A3/drawer/Drawable.java src/Command/A3/drawer/DrawCanvas.java src/Command/A3/drawer/DrawCommand.java src/Command/A3/Main.java src/Command/Sample/command/Command.java src/Command/Sample/command/MacroCommand.java src/Command/Sample/drawer/Drawable.java src/Command/Sample/drawer/DrawCanvas.java src/Command/Sample/drawer/DrawCommand.java src/Command/Sample/Main.java src/Composite/A2/Directory.java src/Composite/A2/Entry.java src/Composite/A2/File.java src/Composite/A2/FileTreatmentException.java src/Composite/A2/Main.java src/Composite/Sample/Directory.java src/Composite/Sample/Entry.java src/Composite/Sample/File.java src/Composite/Sample/FileTreatmentException.java src/Composite/Sample/Main.java src/Decorator/A1/Border.java src/Decorator/A1/Display.java src/Decorator/A1/FullBorder.java src/Decorator/A1/Main.java src/Decorator/A1/SideBorder.java src/Decorator/A1/StringDisplay.java src/Decorator/A1/UpDownBorder.java src/Decorator/A2/Border.java src/Decorator/A2/Display.java src/Decorator/A2/FullBorder.java src/Decorator/A2/Main.java src/Decorator/A2/MultiStringDisplay.java src/Decorator/A2/SideBorder.java src/Decorator/A2/StringDisplay.java src/Decorator/Q1/Main.java src/Decorator/Q2/Main.java src/Decorator/Sample/Border.java src/Decorator/Sample/Display.java src/Decorator/Sample/FullBorder.java src/Decorator/Sample/Main.java src/Decorator/Sample/SideBorder.java src/Decorator/Sample/StringDisplay.java src/Facade/A2/maildata.txt src/Facade/A2/Main.java src/Facade/A2/pagemaker/Database.java src/Facade/A2/pagemaker/HtmlWriter.java src/Facade/A2/pagemaker/PageMaker.java src/Facade/Q2/Main.java src/Facade/Sample/maildata.txt src/Facade/Sample/Main.java src/Facade/Sample/pagemaker/Database.java src/Facade/Sample/pagemaker/HtmlWriter.java src/Facade/Sample/pagemaker/PageMaker.java src/FactoryMethod/A2/framework/Factory.java src/FactoryMethod/A2/framework/Product.java src/FactoryMethod/A2/idcard/IDCard.java src/FactoryMethod/A2/idcard/IDCardFactory.java src/FactoryMethod/A2/Main.java src/FactoryMethod/Sample/framework/Factory.java src/FactoryMethod/Sample/framework/Product.java src/FactoryMethod/Sample/idcard/IDCard.java src/FactoryMethod/Sample/idcard/IDCardFactory.java src/FactoryMethod/Sample/Main.java src/Flyweight/A1/big-.txt src/Flyweight/A1/big0.txt src/Flyweight/A1/big1.txt src/Flyweight/A1/big2.txt src/Flyweight/A1/big3.txt src/Flyweight/A1/big4.txt src/Flyweight/A1/big5.txt src/Flyweight/A1/big6.txt src/Flyweight/A1/big7.txt src/Flyweight/A1/big8.txt src/Flyweight/A1/big9.txt src/Flyweight/A1/BigChar.java src/Flyweight/A1/BigCharFactory.java src/Flyweight/A1/BigString.java src/Flyweight/A1/Main.java src/Flyweight/A2/big-.txt src/Flyweight/A2/big0.txt src/Flyweight/A2/big1.txt src/Flyweight/A2/big2.txt src/Flyweight/A2/big3.txt src/Flyweight/A2/big4.txt src/Flyweight/A2/big5.txt src/Flyweight/A2/big6.txt src/Flyweight/A2/big7.txt src/Flyweight/A2/big8.txt src/Flyweight/A2/big9.txt src/Flyweight/A2/BigChar.java src/Flyweight/A2/BigCharFactory.java src/Flyweight/A2/BigString.java src/Flyweight/A2/Main.java src/Flyweight/Sample/big-.txt src/Flyweight/Sample/big0.txt src/Flyweight/Sample/big1.txt src/Flyweight/Sample/big2.txt src/Flyweight/Sample/big3.txt src/Flyweight/Sample/big4.txt src/Flyweight/Sample/big5.txt src/Flyweight/Sample/big6.txt src/Flyweight/Sample/big7.txt src/Flyweight/Sample/big8.txt src/Flyweight/Sample/big9.txt src/Flyweight/Sample/BigChar.java src/Flyweight/Sample/BigCharFactory.java src/Flyweight/Sample/BigString.java src/Flyweight/Sample/Main.java src/Interpreter/A1/language/CommandListNode.java src/Interpreter/A1/language/CommandNode.java src/Interpreter/A1/language/Context.java src/Interpreter/A1/language/ExecuteException.java src/Interpreter/A1/language/Executor.java src/Interpreter/A1/language/ExecutorFactory.java src/Interpreter/A1/language/InterpreterFacade.java src/Interpreter/A1/language/Node.java src/Interpreter/A1/language/ParseException.java src/Interpreter/A1/language/PrimitiveCommandNode.java src/Interpreter/A1/language/ProgramNode.java src/Interpreter/A1/language/RepeatCommandNode.java src/Interpreter/A1/Main.java src/Interpreter/A1/turtle/TurtleCanvas.java src/Interpreter/Sample/CommandListNode.java src/Interpreter/Sample/CommandNode.java src/Interpreter/Sample/Context.java src/Interpreter/Sample/Main.java src/Interpreter/Sample/Node.java src/Interpreter/Sample/ParseException.java src/Interpreter/Sample/PrimitiveCommandNode.java src/Interpreter/Sample/program.txt src/Interpreter/Sample/ProgramNode.java src/Interpreter/Sample/RepeatCommandNode.java src/Iterator/A1/Aggregate.java src/Iterator/A1/Book.java src/Iterator/A1/BookShelf.java src/Iterator/A1/BookShelfIterator.java src/Iterator/A1/Iterator.java src/Iterator/A1/Main.java src/Iterator/Sample/Aggregate.java src/Iterator/Sample/Book.java src/Iterator/Sample/BookShelf.java src/Iterator/Sample/BookShelfIterator.java src/Iterator/Sample/Iterator.java src/Iterator/Sample/Main.java src/Mediator/A1/Colleague.java src/Mediator/A1/ColleagueButton.java src/Mediator/A1/ColleagueCheckbox.java src/Mediator/A1/ColleagueTextField.java src/Mediator/A1/LoginFrame.java src/Mediator/A1/Main.java src/Mediator/A1/Mediator.java src/Mediator/Sample/Colleague.java src/Mediator/Sample/ColleagueButton.java src/Mediator/Sample/ColleagueCheckbox.java src/Mediator/Sample/ColleagueTextField.java src/Mediator/Sample/LoginFrame.java src/Mediator/Sample/Main.java src/Mediator/Sample/Mediator.java src/Memento/A4/game/Gamer.java src/Memento/A4/game/Memento.java src/Memento/A4/Main.java src/Memento/Sample/game/Gamer.java src/Memento/Sample/game/Memento.java src/Memento/Sample/Main.java src/Observer/A1/DigitObserver.java src/Observer/A1/GraphObserver.java src/Observer/A1/IncrementalNumberGenerator.java src/Observer/A1/Main.java src/Observer/A1/NumberGenerator.java src/Observer/A1/Observer.java src/Observer/A2/DigitObserver.java src/Observer/A2/FrameObserver.java src/Observer/A2/GraphObserver.java src/Observer/A2/Main.java src/Observer/A2/NumberGenerator.java src/Observer/A2/Observer.java src/Observer/A2/RandomNumberGenerator.java src/Observer/Q1/Main.java src/Observer/Sample/DigitObserver.java src/Observer/Sample/GraphObserver.java src/Observer/Sample/Main.java src/Observer/Sample/NumberGenerator.java src/Observer/Sample/Observer.java src/Observer/Sample/RandomNumberGenerator.java src/Prototype/Sample/framework/Manager.java src/Prototype/Sample/framework/Product.java src/Prototype/Sample/Main.java src/Prototype/Sample/MessageBox.java src/Prototype/Sample/UnderlinePen.java src/Proxy/A1/Main.java src/Proxy/A1/Printable.java src/Proxy/A1/Printer.java src/Proxy/A1/PrinterProxy.java src/Proxy/Sample/Main.java src/Proxy/Sample/Printable.java src/Proxy/Sample/Printer.java src/Proxy/Sample/PrinterProxy.java src/Singleton/A1/Main.java src/Singleton/A1/TicketMaker.java src/Singleton/A2/Main.java src/Singleton/A2/Triple.java src/Singleton/A3_1/Main.java src/Singleton/A3_1/Singleton.java src/Singleton/A3_2/Main.java src/Singleton/A3_2/Singleton.java src/Singleton/Q1/TicketMaker.java src/Singleton/Q3/Singleton.java src/Singleton/Sample/Main.java src/Singleton/Sample/Singleton.java src/State/A3/Context.java src/State/A3/DayState.java src/State/A3/Main.java src/State/A3/NightState.java src/State/A3/NoonState.java src/State/A3/SafeFrame.java src/State/A3/State.java src/State/A4/Context.java src/State/A4/DayState.java src/State/A4/Main.java src/State/A4/NightState.java src/State/A4/SafeFrame.java src/State/A4/State.java src/State/A4/UrgentState.java src/State/Sample/Context.java src/State/Sample/DayState.java src/State/Sample/Main.java src/State/Sample/NightState.java src/State/Sample/SafeFrame.java src/State/Sample/State.java src/Strategy/A1/Hand.java src/Strategy/A1/Main.java src/Strategy/A1/Player.java src/Strategy/A1/ProbStrategy.java src/Strategy/A1/RandomStrategy.java src/Strategy/A1/Strategy.java src/Strategy/A4/Main.java src/Strategy/A4/QuickSorter.java src/Strategy/A4/SortAndPrint.java src/Strategy/A4/Sorter.java src/Strategy/Q4/InsertSorter.java src/Strategy/Q4/Main.java src/Strategy/Q4/SortAndPrint.java src/Strategy/Q4/Sorter.java src/Strategy/Sample/Hand.java src/Strategy/Sample/Main.java src/Strategy/Sample/Player.java src/Strategy/Sample/ProbStrategy.java src/Strategy/Sample/Strategy.java src/Strategy/Sample/WinningStrategy.java src/TemplateMethod/Sample/AbstractDisplay.java src/TemplateMethod/Sample/CharDisplay.java src/TemplateMethod/Sample/Main.java src/TemplateMethod/Sample/StringDisplay.java src/Visitor/A1/Acceptor.java src/Visitor/A1/Directory.java src/Visitor/A1/Entry.java src/Visitor/A1/File.java src/Visitor/A1/FileFindVisitor.java src/Visitor/A1/FileTreatmentException.java src/Visitor/A1/ListVisitor.java src/Visitor/A1/Main.java src/Visitor/A1/Visitor.java src/Visitor/A2/Acceptor.java src/Visitor/A2/Directory.java src/Visitor/A2/Entry.java src/Visitor/A2/File.java src/Visitor/A2/FileTreatmentException.java src/Visitor/A2/ListVisitor.java src/Visitor/A2/Main.java src/Visitor/A2/SizeVisitor.java src/Visitor/A2/Visitor.java src/Visitor/A3/Acceptor.java src/Visitor/A3/AcceptorVector.java src/Visitor/A3/Directory.java src/Visitor/A3/Entry.java src/Visitor/A3/File.java src/Visitor/A3/FileTreatmentException.java src/Visitor/A3/ListVisitor.java src/Visitor/A3/Main.java src/Visitor/A3/Visitor.java src/Visitor/Q1/Main.java src/Visitor/Q3/Main.java src/Visitor/Sample/Acceptor.java src/Visitor/Sample/Directory.java src/Visitor/Sample/Entry.java src/Visitor/Sample/File.java src/Visitor/Sample/FileTreatmentException.java src/Visitor/Sample/ListVisitor.java src/Visitor/Sample/Main.java src/Visitor/Sample/Visitor.java