Giter Club home page Giter Club logo

javatest's Introduction

JavaTest

learn java code

23种设计模式中的常用的15种

  • 创建型模式6种
  • 结构型模式中4种
    • 适配器模式
    • 组合模式
    • 外观模式
    • 代理模式 ProxyTest
  • 行为型模式中5种
    • 命令模式:一种使用频率非常高的设计模式,它可以将请求者和接受者解耦。
      • 使用场景:
        • 系统需要将请求调用者和接受者解耦,使得调用者和接受者不直接交互。请求调用者无须知道接受者的存在, 也无须知道接受者是谁,接受者也无须关心何时被调用。
        • 系统需要在不同的时间指定请求、将请求排队和执行请求
        • 系统需要支持命令的撤销操作和恢复操作
        • 系统需要将一组操作组合在一起形成宏命令
    • 迭代器模式 IteratorTest
    • 观察者模式 ObserverTest
    • 策略模式 StrategyTest
    • 模板方法模式 TemplateText

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.