A space to forge and experiment with various data structures and algorithms using modern Java features.
There are certain rules to be followed while "forging":
- Avoid exceptions
- an exception in method contract => leaving the fate in the hands of an end user
- Use latest language features wherever possible
- learn how, when and where to use Java 9+ features
- Problem oriented approach
- consider real problems in test cases
- Java 21+
- Maven 3.9.x
Always make sure to check if new or edited code conforms to the required code formatting standards:
mvn spotless:checkIf required, apply the format:
mvn spotless:applyEnsure that all tests pass:
mvn testTo prepare the library (i.e. jar):
mvn clean package