⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chapa-0.htm

📁 设计模式英文版 作者:Erich Gamma、Richard Helm、Ralph Johnson和John Vlissides 四人帮的书。 学设计模式的必读的书籍!经典中的经典
💻 HTM
📖 第 1 页 / 共 2 页
字号:

<A NAME="auto1045"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="interactiondiagram"></A>
<TR><TD COLSPAN=2><B>interaction diagram</B></TD></TR>
<A NAME="auto1046"></A>
<TR><TD></TD><TD>A diagram that shows the flow of requests between
objects.</TD></TR>

<A NAME="auto1047"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="interface"></A>
<TR><TD COLSPAN=2><B>interface</B></TD></TR>
<A NAME="auto1048"></A>
<TR><TD></TD><TD>The set of all signatures defined by an object's
operations. The interface describes the set of requests to which
an object can respond.</TD></TR>

<A NAME="auto1049"></A>
<TR><TD>
<A NAME="M">&nbsp;</A>
</TD></TR>

<A NAME="metaclass"></A>
<TR><TD COLSPAN=2><B>metaclass</B></TD></TR>
<A NAME="auto1050"></A>
<TR><TD></TD><TD>Classes are objects in Smalltalk.  A metaclass is
the class of a class object.</TD></TR>

<A NAME="auto1051"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="mixinclass"></A>
<TR><TD COLSPAN=2><B>mixin class</B></TD></TR>
<A NAME="auto1052"></A>
<TR><TD></TD><TD>A class designed to be combined with other classes
through inheritance.  Mixin classes are usually abstract.</TD></TR>

<A NAME="auto1053"></A>
<TR><TD>
<A NAME="O">&nbsp;</A>
</TD></TR>

<A NAME="object"></A>
<TR><TD COLSPAN=2><B>object</B></TD></TR>
<A NAME="auto1054"></A>
<TR><TD></TD><TD>A run-time entity that packages both data and the
procedures that operate on that data.</TD></TR>

<A NAME="auto1055"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="objectcomposition"></A>
<TR><TD COLSPAN=2><B>object composition</B></TD></TR>
<A NAME="auto1056"></A>
<TR><TD></TD><TD>Assembling or <EM>composing</EM> objects to get
more complex behavior.</TD></TR>

<A NAME="auto1057"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="objectdiagram"></A>
<TR><TD COLSPAN=2><B>object diagram</B></TD></TR>
<A NAME="auto1058"></A>
<TR><TD></TD><TD>A diagram that depicts a particular object structure at run-time.</TD></TR>

<A NAME="auto1059"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="objectreference"></A>
<TR><TD COLSPAN=2><B>object reference</B></TD></TR>
<A NAME="auto1060"></A>
<TR><TD></TD><TD>A value that identifies another object.</TD></TR>

<A NAME="auto1061"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="memberfunction"></A>
<A NAME="operation"></A>
<TR><TD COLSPAN=2><B>operation</B></TD></TR>
<A NAME="auto1062"></A>
<TR><TD></TD><TD>An object's data can be manipulated only by its operations. An object
performs an operation when it receives a request.  In C++, operations
are called <B>member functions</B>. Smalltalk uses the term
<B>method</B>.</TD></TR>

<A NAME="auto1063"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="overriding"></A>
<TR><TD COLSPAN=2><B>overriding</B></TD></TR>
<A NAME="auto1064"></A>
<TR><TD></TD><TD>Redefining an operation (inherited from a parent class) in a subclass.</TD></TR>

<A NAME="auto1065"></A>
<TR><TD>
<A NAME="P">&nbsp;</A>
</TD></TR>

<A NAME="parameterized_type"></A>
<TR><TD COLSPAN=2><B>parameterized type</B></TD></TR>
<A NAME="auto1066"></A>
<TR><TD></TD><TD>A type that leaves some constituent types unspecified. The
unspecified types are supplied as parameters at the point of use. In
C++, parameterized types are called <B>templates</B>.</TD></TR>

<A NAME="auto1067"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="ancestorclass"></A>
<A NAME="parentclass"></A>
<A NAME="superclass"></A>
<TR><TD COLSPAN=2><B>parent class</B></TD></TR>
<A NAME="auto1068"></A>
<TR><TD></TD><TD>The class from which another class inherits. Synonyms are
<B>superclass</B> (Smalltalk), <B>base class</B> (C++), and
<B>ancestor class</B>.</TD></TR>

<A NAME="auto1069"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="polymorphism"></A>
<TR><TD COLSPAN=2><B>polymorphism</B></TD></TR>
<A NAME="auto1070"></A>
<TR><TD></TD><TD>The ability to substitute objects of matching interface for one
another at run-time.</TD></TR>

<A NAME="auto1071"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="privateinheritance"></A>
<TR><TD COLSPAN=2><B>private inheritance</B></TD></TR>
<A NAME="auto1072"></A>
<TR><TD></TD><TD>In C++, a class inherited solely for its implementation.</TD></TR>

<A NAME="auto1073"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="protocol"></A>
<TR><TD COLSPAN=2><B>protocol</B></TD></TR>
<A NAME="auto1074"></A>
<TR><TD></TD><TD>Extends the concept of an interface to include the allowable sequences
of requests.</TD></TR>

<A NAME="auto1075"></A>
<TR><TD>
<A NAME="R">&nbsp;</A>
</TD></TR>

<A NAME="receiver"></A>
<TR><TD COLSPAN=2><B>receiver</B></TD></TR>
<A NAME="auto1076"></A>
<TR><TD></TD><TD>The target object of a request.</TD></TR>

<A NAME="auto1077"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="request"></A>
<TR><TD COLSPAN=2><B>request</B></TD></TR>
<A NAME="auto1078"></A>
<TR><TD></TD><TD>An object performs an operation when it receives a corresponding
request from another object.  A common synonym for request is
<B>message</B>.</TD></TR>

<A NAME="auto1079"></A>
<TR><TD>
<A NAME="S">&nbsp;</A>
</TD></TR>

<A NAME="signature"></A>
<TR><TD COLSPAN=2><B>signature</B></TD></TR>
<A NAME="auto1080"></A>
<TR><TD></TD><TD>An operation's signature defines its name, parameters, and return value.</TD></TR>

<A NAME="auto1081"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="subclass"></A>
<TR><TD COLSPAN=2><B>subclass</B></TD></TR>
<A NAME="auto1082"></A>
<TR><TD></TD><TD>A class that inherits from another class. In C++, a subclass
is called a <B>derived class</B>.</TD></TR>

<A NAME="auto1083"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="subsystem"></A>
<TR><TD COLSPAN=2><B>subsystem</B></TD></TR>
<A NAME="auto1084"></A>
<TR><TD></TD><TD>An independent group of classes that collaborate to fulfill a set of
responsibilities.</TD></TR>

<A NAME="auto1085"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="subtype"></A>
<TR><TD COLSPAN=2><B>subtype</B></TD></TR>
<A NAME="auto1086"></A>
<TR><TD></TD><TD>A type is a subtype of another if its interface contains the
interface of the other type.</TD></TR>

<A NAME="auto1087"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="supertype"></A>
<TR><TD COLSPAN=2><B>supertype</B></TD></TR>
<A NAME="auto1088"></A>
<TR><TD></TD><TD>The parent type from which a type inherits.</TD></TR>

<A NAME="auto1089"></A>
<TR><TD>
<A NAME="T">&nbsp;</A>
</TD></TR>

<A NAME="toolkit"></A>
<TR><TD COLSPAN=2><B>toolkit</B></TD></TR>
<A NAME="auto1090"></A>
<TR><TD></TD><TD>A collection of classes that provides useful functionality but does not
define the design of an application.</TD></TR>

<A NAME="auto1091"></A>
<TR><TD>&nbsp;</TD></TR>

<A NAME="type"></A>
<TR><TD COLSPAN=2><B>type</B></TD></TR>
<A NAME="auto1092"></A>
<TR><TD></TD><TD>The name of a particular interface.</TD></TR>

<A NAME="auto1093"></A>
<TR><TD>
<A NAME="W">&nbsp;</A>
</TD></TR>

<A NAME="white-boxreuse"></A>
<TR><TD COLSPAN=2>
<B>white-box reuse</B></TD></TR>
<A NAME="auto1094"></A>
<TR><TD></TD><TD>A style of reuse based on class inheritance.  A
subclass reuses the interface and implementation of its parent
class, but it may have access to otherwise private aspects of its
parent.</TD></TR>

</TABLE>

<A NAME="last"></A>
<P><A HREF="#top"><IMG SRC="gifsb/up3.gif" BORDER=0></A><BR>
<A HREF="chapBfs.htm" TARGET="_mainDisplayFrame"><IMG SRC="gifsb/rightar3.gif"
	ALIGN=TOP BORDER=0></A> <A HREF="chapBfs.htm"
	TARGET="_mainDisplayFrame">Guide to Notation</A><BR>
<A HREF="chap6fs.htm" TARGET="_mainDisplayFrame"><IMG SRC="gifsb/leftarr3.gif"
	ALIGN=TOP BORDER=0></A> <A HREF="chap6fs.htm"
	TARGET="_mainDisplayFrame">Conclusion</A>
</P>

</BODY>

</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -