<ul>Singleton Pattern </ul><ul>Company Name </ul>
<ul>Singleton Pattern </ul><ul><li>Problem : </li><ul><li>We want a pattern that it istantate a single copy of the object
Only a copy of the object </li></ul><li>Solution </li><ul><li>Singleton pattern :  </li><ul><li>Construttore privato
Oggetto statico
Upcoming SlideShare
Loading in...5
×

Design Pattern 5. Singleton Pattern

395

Published on

Refers:
Head First Design Pattern

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
395
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Design Pattern 5. Singleton Pattern

  1. 1. <ul>Singleton Pattern </ul><ul>Company Name </ul>
  2. 2. <ul>Singleton Pattern </ul><ul><li>Problem : </li><ul><li>We want a pattern that it istantate a single copy of the object
  3. 3. Only a copy of the object </li></ul><li>Solution </li><ul><li>Singleton pattern : </li><ul><li>Construttore privato
  4. 4. Oggetto statico
  5. 5. Method instanzia oggetto se è null </li></ul></ul></ul>
  6. 6. <ul>Singleton Pattern Code </ul>
  7. 7. <ul>Singleton Pattern Code </ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×