GOF Study Notes 1: Terminology

1. abstract class abstract class
defines an interface, the implementation is left to some or all of the subclass, can not be instantiated.

2. abstract abstract coupling Coupling
If a class A refers to another abstract class B, then A is said to be abstract coupled to B.

3.abstract operation

It defines the method signature but no specific implementation.

4. Acquaintance Relationship
If class A references Classes B, said Class B. Class A for

5.aggregate object

If an object consists of other sub-objects. This object is then said aggregate object.

6.aggregate relationship

Polymeric object and its sub-objects have the relationship, this relationship defines a class of polymerization.

7.black-box reuse

One kind of a polymeric reuse relation. We do not know the details of each other between the subclasses.

8.class

It defines the interface and implementation of an object. Provision and operation of the internal data of the object.

9.coupling

Interdependencies between components.

10.delegation

One object to another object delegate to process the request. Target object represents the source object to perform the operation.

11.dynamic binding

Determining the requested object and its method of operation.

12.framework

Reusable design for a software type, by a set of pre-designed classes, interfaces, and provides for their relationship. Developers to implement specific application functions by subclassing or aggregation.

13.friend class

A class has access to its own data and permission to operate, if the class B data and operations of the class A also have the same rights, said class B class A class is a friend.

14.metaclass

In Smalltalk, the class is an object. metaclass is a class object class.

15.mixin class

For a class and classes used in combination with other classes. mixin class is usually abstract.

16.protocal

Extension of the interface, further comprising allowing a sequence of requests.

17.subsystem

A set of classes to complete some joint responsibility.

18.toolkit

It provides a set of utility functions of the class, but do not reflect the application of design patterns.

19.white-box reuse

Based on class inheritance to reuse way relationship. Subclasses reuse interface and implementation of the parent class, you can also access non-private members of the superclass.

 

Guess you like

Origin www.cnblogs.com/hkbox/p/11567230.html