The hello-world project
Make sure following software is installed on your PC
- JDK 17 or later
.
├── bridge-pattern
│ ├── pom.xml
│ ...
├── pom.xml
|
└── README.md
$ ./mvnw clean package
$ java -jar ./bridge-pattern/target/bridge-pattern-0.0.1-SNAPSHOT.jar
06:30:38.684 [main] INFO io.github.huypva.bridgepattern.Main -- Abtraction
06:30:38.686 [main] INFO io.github.huypva.bridgepattern.Concrete1Implementation -- Concrete1 implementation 1
06:30:38.686 [main] INFO io.github.huypva.bridgepattern.Concrete1Implementation -- Concrete1 implementation 2
06:30:38.686 [main] INFO io.github.huypva.bridgepattern.Main -- RefinedAbtraction
06:30:38.686 [main] INFO io.github.huypva.bridgepattern.Concrete1Implementation -- Concrete1 implementation 1
The code is open sourced. I encourage fellow developers to contribute and help improve it!
- Fork it
- Create your feature branch (git checkout -b new-feature)
- Ensure all tests are passing
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request