You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Poskytuje jednoduché rozhranní ke skupině objektů s komplexních objektů.
Umožňuje nízké spjetí s konkrétní implementací externích knihoven.
\subsubsection{Adapter}
Převádí rozhraní třídy na jiné rozhraní, které klient očekává.
Obsahuje \texttt{Target} (rozhraní očekávané klientem), \texttt{Adaptee} (rozhraní nutné k adaptaci), \texttt{Adapter} (adaptuje adaptee pro využité klientem jako target).
\subsubsection{Bridge}
Odděluje abstrakci od implementace tak, aby je bylo možné nezávisle zaměňovat (např. hierarchie oken, obrázků).
\subsubsection{Flyweight}
Využívá sdílení objetků k efektivní práci s velkým množstvím objektů.
\subsubsection{Composite}
Stromová struktura reprezentující vztah celek-část (adresářová struktura, rozpis matematických operací, \dots).