Class diagrams are the most commonly used diagrams in UML. We can see that class diagrams are very important.
A class chart is a class digoal. The shape is very simple. It consists of a rectangle, two rectangles, or three rectangles.
For example:
The top column shown in is the class name. The second column is the class property. (A class can have one or more attributes. Of course, some classes have no attributes) the third column is the cl
. Proxy modeIntent: Provides a proxy for other objects to control access to this object.21. Single case (Singleton) modeIntent: Ensure that a class has only one instance and provides a global access point to access it.22. Status (State) modeIntent: Allows an object to change its behavior when its internal state changes.23. Policy (strategy) modeIntent: Define a series of algorithms, encapsulate them one by one, and make them interchangeable with each other.24. Template Method ModeIntent: Define
consistent.Just, the class involved in the association is logically a level, such as the student teacher above, but the aggregation involves the class is not a level.Look at the following example:It can be expressed as a has a/some B, at which point B is able to separate from a and exist independently. Without a car tire or a tire.Combination compositionThe composition relationship is a bit tighter than the aggregation relationshipThe limbs and the people are die.Non-separable.As for generaliza
In Visio, the relationship between a package and a class is an inclusive relationship, and after the class is dragged into the folder of the package, the relationship is established, and the two-dollar correlation symbol can be set to: aggregation, composition.Interface: Hollow Circle + Straight line (Donald Duck class to achieve ' speaking ');Dependency: Dashed + arrow (animal and air relationship);Correlation: Solid + arrows (Penguins need to know the climate before migrating);Aggregation: Hol
The use case diagram mainly includes use cases, activists, and relationships.
Use Cases: A description of the sequence of actions that the system, subsystem, or class interacts with external participants, including various normal sequences and error sequences. Case analysis can be considered as a decomposition of system functions.
How to determine the granularity of use cases:Generally, there are no mandatory requirements for a system. You only need
Overview
The relationships in a UML class diagram include:
Association, aggregation, composition, dependency, generalization, and Realization)
Association(Association)
Line representation, optional arrows,
Is a relationship in a static structure, which tends to be a data relationship. The relationships in this static structure will be stored with the storage of class files. If one class is the object of an
JavaScript data structure and algorithm diagram and graph algorithm, javascript Data Structure
Graph Definition
A Graph is a set of vertices that have a finite number of non-empty sets and edges between vertices. It is usually expressed as G (V, E), where G represents a Graph, V is the set of vertices in graph G, and E is the set of edges in graph G.
Directed Gra
Draw an octal diagram with 12 lines of javascript code and 12 lines of javascript
One statement: Build a 1024*1024 color matrix with limited code to show you the beauty of programming and art.
It originated from a problem on stackexchange. Here we made a slight extension to support more programming languages and relaxed the code length restrictions.Rules
Objectiv
I have been in touch with jquery for some time, and today I just use the carousel to practice practicing. The front of the blog will introduce a simple use of jquery to do a carousel diagram of the example, the middle will be inserted some more about the carousel diagram, in the following will be a JavaScript method to write a carousel
situation is complexReturn this king eight eggs ...So I do ...Does it has a to is like this? Tell me why are there something I have missed?Tell me why, cos I don ' t understand .......That's because ... because of u? No return ...So: If the basic type is returned, it will be discarded ... Can only return object type ... typeof xx = = = "Object"Did you see called? What the heck!!In fact, the new keyword creates an empty object, and then automatically calls a function apply method, which points t
90% of the front-end or JS programmers or teachers do not understand JavaScript more than thisto the phone.But all the brown one-way arrow chains in this diagram are the prototype chains of JavaScript (color annotations are critical to understanding the JS prototype chain)Each of the __proto__ constructor. Prototype is an internal object so the painting is for br
xTable of Contents [1] illustration [2] concept [3] description [4] Summing up the previous wordsFor the Execution Environment (execution context) and scope (scope) is not easy to distinguish, and even many people think they are one thing, but the elevation and Rhino book about the scope of the two different translations. But in fact, they are not the same, but entangled with each other. This article first with a picture, and then the terminology of a simple explanation, and finally according to
Diagram of JavaScript data structures and algorithms and graph algorithms
This article mainly introduces the JavaScript data structure and algorithm diagram and graph algorithm. This article describes the directed graph, unordered graph, simple graph, and graph traversal. For more information, see
Graph Definition
A
The js object relational diagram facilitates dom operations. For more information, see. Are common attributes. Js object Relationship Diagram
JavaScript Object Reference Manual
This reference manual describes the attributes and methods of each object and provides examples.
Array
Boolean
Date
Math
Number
String
RegExp
Global
Browser Object Reference Manua
At the time of learning javascript, want to learn how to write the Carousel map, the results in Baidu search for a half-day also difficult to find a complete carousel diagram Case. Now share a JS write the Carousel map for everyone to reference and study, there is any wrong place or there is a better way to ask you to discuss and progress Together.Here's The. * {padding:0; margin:0;}Li {list-style:none;}IM
This article mainly introduces the JavaScript data structure and algorithm diagram and graph algorithm. This article describes the directed graph, unordered graph, simple graph, and graph traversal. For more information, see
Graph Definition
A Graph is a set of vertices that have a finite number of non-empty sets and edges between vertices. It is usually expressed as G (V, E), where G represents a Graph, V
DOCTYPE HTML>HTML> Head> MetaCharSet= "UTF-8"> title>title> Head> Body> Divclass= "box"ID= "box"> ahref= "javascript:;"ID= "Prev">> ahref= "javascript:;"ID= "Next">>a> spanID= "txt">First onespan> imgsrc= "Images/1.jpg"ID= "img" /> Div> Body>HTML>All I have to say is in the comments novice look at it personally think
Style:Structure diagram: Method Comparison:Box.onmouseover = function () { Show picture settings The class name of the pictures is show Just make a switch between show and hide. Picture.classname = "Erweima show"; Now is the hidden want to let him show Picture.classname = Er.className.replace ("Hide", "show"); Replace (picture, "Hide", "show");}The mouse left the box to hide the two-dimensional codeBox.onmouseout =
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.