Tag:Class diagram

  • UML class diagram concise tutorial

    Time:2021-8-29

    UML class diagram is a graphical representation of object-oriented system for construction and visualization. Class diagram in Unified Modeling Language (UML) is a static structure diagram, which describes the system structure by displaying the system structure: Class, Their attributes Operation (or method), And the relationship between objects. What is a class? Classes are blueprints for […]

  • Design pattern learning 02 (Java implementation) — UML diagram and class diagram representation

    Time:2021-6-23

    Write on the front Take notes on learning design patterns Improve the flexible use of design patterns Learning address https://www.bilibili.com/vide… https://www.bilibili.com/vide… Reference article http://c.biancheng.net/view/1… Project source codehttps://gitee.com/zhuang-kang/DesignPattern 2. UML diagram Unified Modeling Language (UML) is a visual modeling language for software design. Its characteristics are simple, unified, graphical, and can express the dynamic and static […]

  • Jdkserializationredisserializer analysis of redisserializer

    Time:2020-11-29

    When redis caches POJO, it needs to serialize POJO into byte array for storage. Spring data redis implements the class jdkserializationredisserializer to serialize POJO. The structure of the class diagram is as follows: 1. The jdkserializationredisserializer class implements the interface redisserializer classByte [] Serialize (t t) and t deserialize (byte [] bytes) interfaces. 2. By […]

  • Beihang OO (2020) unit 2 blog assignment

    Time:2020-8-19

    Beihang OO (2020) unit 2 blog assignment catalog Beihang OO (2020) unit 2 blog assignment Design strategy analysis (multi thread perspective) Home 3 solid analysis and scalability analysis Single Responsibility Principle Open Close Principle Liskov Substitution Principle Interface Segregation Principle Dependency Inversion Principle Scalability Program structure analysis based on metrics Homework 1 Code metrics Class […]

  • Learning notes of UML (1)

    Time:2020-5-8

    UML is a unified modeling language, which describes any system in an object-oriented way, It includes nine kinds of graph + package graph, which are static and dynamic, that is, structure graph and behavior graph “Static” diagrams include use case diagram, class diagram, object diagram, deployment diagram and component diagram Dynamic diagrams include sequence diagrams, […]

  • Face object and UML class diagram

    Time:2020-4-13

    Object-oriented why? 1. Program execution: sequence, judgment, cycle, — structured 2. Object oriented – data structure 3. Computer oriented, structured is the simplest 4. Becoming should be simple & abstract A basic class class People { constructor(name, age) { this.name = name; this.age = age; } eat() { alert(`${this.name} eat something`); } speak() { alert(`My […]

  • PlantUml for Atom in Windows

    Time:2020-4-11

    Is plantuml? Support rapid UML drawing Sequence diagram Use case diagram Class diagram Activity diagram Component diagram State diagram Deployment diagram Object diagram wireframe graphical interface Platuml provides plug-ins for atom, Android studio and sublime text 2, which is convenient and quick to draw the required UML in your editor. Bob -> Alice : hello […]

  • StarUML 7. Class diagram example of StarUML

    Time:2020-4-9

    Concepts in UML class diagrams Class diagram relationships: generalization (inheritance), implementation, aggregation, composition, association, dependency The detailed explanation of class diagram can be found on the Internet (recommended https://xuanlan.zhihu.com/p/24576502) It describes the relationship between objects and them in a system, which enables us to have a comprehensive understanding of the system before writing code correctly.A […]

  • Blog assignment of unit 1 of Beihang OO (2020)

    Time:2020-3-24

    Blog assignment of unit 1 of Beihang OO (2020) Catalog Blog assignment of unit 1 of Beihang OO (2020) Analysis of program structure based on measurement Homework 1 Code metrics UML class diagram Analysis of advantages and disadvantages Homework 2 Code metrics UML class diagram Analysis of advantages and disadvantages Homework 3 Code metrics UML […]

  • Making wheels by hand: realizing a simple dependency injection (1)

    Time:2019-12-2

    Making wheels by hand: realizing a simple dependency injection (1) Intro In the previous article, I mainly introduced the overall design and general programming experience of dependency injection. This article will start to write code and start to implement its own dependency injection framework. Class diagram Let’s review the UML class diagram mentioned last time […]