home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java 1.2 How-To
/
JavaHowTo.iso
/
3rdParty
/
Bluette
/
Plastic
/
patterns
/
Prototype.pat
< prev
next >
Wrap
Text File
|
1997-07-13
|
3KB
|
319 lines
<integer>
10
<storable>
<string>
TJavaClass
<integer>
82
<integer>
77
<integer>
192
<integer>
127
<string>
Client
<integer>
0
<integer>
1
<storable>
<string>
TJavaMethod
<string>
Operation
<string>
<integer>
0
<integer>
0
<boolean>
FALSE
<boolean>
FALSE
<boolean>
FALSE
<boolean>
FALSE
<string>
<integer>
3
<string>
// ...
<string>
// p = prototype->Clone();
<string>
// ...
<integer>
0
<boolean>
FALSE
<boolean>
TRUE
<integer>
0
<storable>
<string>
TJavaClass
<integer>
332
<integer>
77
<integer>
442
<integer>
127
<string>
Prototype
<integer>
0
<integer>
1
<storable>
<string>
TJavaMethod
<string>
Clone
<string>
<integer>
0
<integer>
0
<boolean>
TRUE
<boolean>
FALSE
<boolean>
FALSE
<boolean>
FALSE
<string>
<integer>
0
<integer>
0
<boolean>
TRUE
<boolean>
TRUE
<integer>
0
<storable>
<string>
TJavaClass
<integer>
407
<integer>
212
<integer>
532
<integer>
262
<string>
ConcretePrototype2
<integer>
0
<integer>
1
<storable>
<string>
TJavaMethod
<string>
Clone
<string>
<integer>
0
<integer>
0
<boolean>
FALSE
<boolean>
FALSE
<boolean>
FALSE
<boolean>
FALSE
<string>
<integer>
1
<string>
// return copy of self.
<integer>
0
<boolean>
FALSE
<boolean>
TRUE
<integer>
0
<storable>
<string>
TJavaClass
<integer>
252
<integer>
212
<integer>
377
<integer>
262
<string>
ConcretePrototype1
<integer>
0
<integer>
1
<storable>
<string>
TJavaMethod
<string>
Clone
<string>
<integer>
0
<integer>
0
<boolean>
FALSE
<boolean>
FALSE
<boolean>
FALSE
<boolean>
FALSE
<string>
<integer>
1
<string>
// return copy of self.
<integer>
0
<boolean>
FALSE
<boolean>
TRUE
<integer>
0
<storable>
<string>
TInheritance
<integer>
377
<integer>
162
<integer>
397
<integer>
182
<storable>
<string>
TText
<integer>
82
<integer>
52
<integer>
237
<integer>
67
<string>
Design Pattern : Prototype
<storable>
<string>
TAssociation
<integer>
0
<integer>
1
<integer>
2
<integer>
192
<integer>
92
<integer>
332
<integer>
92
<string>
<string>
prototype
<integer>
0
<integer>
0
<integer>
0
<integer>
0
<integer>
0
<storable>
<string>
TSuperClassing
<integer>
1
<integer>
4
<integer>
2
<integer>
387
<integer>
127
<integer>
387
<integer>
162
<storable>
<string>
TSubClassing
<integer>
4
<integer>
3
<integer>
3
<integer>
377
<integer>
182
<integer>
307
<integer>
182
<integer>
307
<integer>
212
<storable>
<string>
TSubClassing
<integer>
4
<integer>
2
<integer>
3
<integer>
397
<integer>
182
<integer>
467
<integer>
182
<integer>
467
<integer>
212