.


:




:

































 

 

 

 


( )




(. Prototype) - , .

', , -, ' .

:

, , , ;

, ;

. , , .

UML ,

  • Prototype :
    • ;
  • ConcretePrototype :
    • ;
  • Client 볺:
    • ', .

³

, .

 

( )

(. Factory Method) , .

', , . .

:

  • , ' ;
  • , ', , ;
  • ' , , ' .

UML ,

  • Product :
    • ', ;
  • ConcreteProduct :
    • Product;
  • Creator :
    • , ' Product. Creator , ' ConcreteProduct;
    • ' Product;
  • ConcreteCreator :
    • , ' ConcreteProduct.

³

, .

4.

(. structural patterns) , , ' .

.

' ' . ' ' , .

 





:


: 2016-11-18; !; : 433 |


:

:

.
==> ...

1453 - | 1434 -


© 2015-2024 lektsii.org - -

: 0.008 .