## Rozdział 4. - Stosowanie strukturalnych wzorców projektowych
```bash
# Adapter 
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/adapter -sourcepath java -d out/Rozdzial04/adapter ./Rozdzial04/adapter/*.java
$ java --enable-preview -cp out/Rozdzial04/adapter AdapterMain

# Most
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/most -sourcepath java -d out/Rozdzial04/most ./Rozdzial04/most/*.java
$ java --enable-preview -cp out/Rozdzial04/most BridgeMain

# Kompozyt
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/kompozyt -sourcepath java -d out/Rozdzial04/kompozyt ./Rozdzial04/kompozyt/*.java
$ java --enable-preview -cp out/Rozdzial04/kompozyt CompositeMain

# Dekorator
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/dekorator -sourcepath java -d out/Rozdzial04/dekorator ./Rozdzial04/dekorator/*.java
$ java --enable-preview -cp out/Rozdzial04/dekorator DecoratorMain

# Fasada
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/fasada -sourcepath java -d out/Rozdzial04/fasada ./Rozdzial04/fasada/*.java
$ java --enable-preview -cp out/Rozdzial04/fasada FacadeMain

# Filtr
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/filtr -sourcepath java -d out/Rozdzial04/filtr ./Rozdzial04/filtr/*.java
$ java --enable-preview -cp out/Rozdzial04/filtr FilterMain

# Pyłek
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/pylek -sourcepath java -d out/Rozdzial04/pylek ./Rozdzial04/pylek/*.java
$ java --enable-preview -cp out/Rozdzial04/pylek FlyweightMain

# Front controller
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/front_controller -sourcepath java -d out/Rozdzial04/front_controller ./Rozdzial04/front_controller/*.java
$ java --enable-preview -cp out/Rozdzial04/front_controller FrontControllerMain

# Znacznik
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/znacznik -sourcepath java -d out/Rozdzial04/znacznik ./Rozdzial04/znacznik/*.java
$ java --enable-preview -cp out/Rozdzial04/znacznik MarkerMain

# Moduł
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/modul -sourcepath java -d out/Rozdzial04/modul ./Rozdzial04/modul/*.java
$ java --enable-preview -cp out/Rozdzial04/modul ModuleMain

# Pełnomocnik
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/pelnomocnik -sourcepath java -d out/Rozdzial04/pelnomocnik ./Rozdzial04/pelnomocnik/*.java
$ java --enable-preview -cp out/Rozdzial04/pelnomocnik ProxyMain

# Bliźniak
$ javac --release 17 --enable-preview -g -cp out/Rozdzial04/blizniak -sourcepath java -d out/Rozdzial04/blizniak ./Rozdzial04/blizniak/*.java
$ java --enable-preview -cp out/Rozdzial04/blizniak TwinMain
```
