Patterns
If you want to achieve success in programming – learn patterns!
Contents
- 1. Generative patterns
- 1.2. Builder
- 2.2. Singleton
- 2.2.1. Singleton pattern. Overview. Features of use. Implementation in C++
- 2.2.2. Using the Singleton pattern for classes that form an inheritance hierarchy. Implementation in C++, Java, C#
- 2.2.3. The Singleton pattern. Implementation in Java
- 2.2.4. The Singleton pattern. Features of implementation in C#
- 2. Structural patterns
- 2.1. Adapter
- 2.1.1. Pattern Adapter. Review and research. Examples of implementation in C++
- 2.1.2. Java. Examples of implementation of pattern Adapter
- 2.1.3. C#. Examples of implementation of the Adapter pattern in C#
- 2.1.4. Solving a problem using the Adapter pattern in Java and C#. Laboratory work. Adaptation of three methods
- 2.1. Adapter
- 3. Behavior patterns
- 3.1. Behavior patterns. Overview
- 3.2. Chain of Responsibility
- 3.5. Iterator (Cursor)
- 3.5.1. General information. Methods of implementation. Structural scheme. Example on C++
- 3.5.2. The Iterator pattern. Features of implementation in C++ for polymorphic container and polymorphic iterator
- 3.5.3. External and internal iterator. Implementation in C++
- 3.5.4. The Iterator pattern. Implementation in C#
- 3.5.5. The Iterator pattern. Java implementation with support for polymorphic container and polymorphic iterator