Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 886 Bytes

File metadata and controls

49 lines (32 loc) · 886 Bytes

forge

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

Instructions

Minimum Requirements

  • Java 21+
  • Maven 3.9.x

Code Formatting

Always make sure to check if new or edited code conforms to the required code formatting standards:

mvn spotless:check

If required, apply the format:

mvn spotless:apply

Testing

Ensure that all tests pass:

mvn test

Packaging

To prepare the library (i.e. jar):

mvn clean package