Code Monkey home page Code Monkey logo

designpattern-java's Introduction

생성 패턴

  • 추상 팩토리(Abstract Factory)
    • 관련된 부품을 조립해서 제품을 생성
  • 빌더(Builder)
    • 복잡한 인스턴스를 조립
  • 팩토리(Factory)
    • 인스턴스 작성을 하위 클래스에 위임
  • 프로토타입
    • clone()을 이용하여 인스턴스로부터 인스턴스를 생성
  • 싱글턴(Singleton)
    • 단 하나의 인스턴스

구조 패턴

  • 어댑터(Adapter)
    • 필요한 형태로 수정해서 사용한다.
  • 브리지(Bridge)
    • 기능계층과 구현계층을 분리 한다.
  • 컴포지트(Composite)
    • 그릇과 내용물의 동일시
  • 데코레이터
    • 장식과 내용물을 동일시
  • 퍼사드
  • 플라이웨이트
  • 프록시

동작 패턴

  • 책임 연쇄
  • 커맨드
  • 인터프리터
  • 반복자(Iterator)
    • 하나씩 열거하면서 사용한다.
  • 중재자
  • 메멘토
  • 옵서버
  • 상태
  • 전략(Strategy)
    • 알고리즘을 교체한다.
  • 템플릿 메소드(Template Method)
    • 구체적인 처리를 하위 클래스에 위임
  • 비지터
    • 데이터 구조와 데이터 처리를 분리

designpattern-java's People

Contributors

developer-sdk avatar

Watchers

 avatar

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.