Skip to content

Commit

Permalink
javadoc comment for Ratio class
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCris654 committed Jan 9, 2025
1 parent 4788055 commit ff8411a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

import java.util.Objects;

/**
* Represents a ratio within the range [0, 1].
* The class ensures that the ratio value, represented as a double,
* falls withing the specified range.
*/
public class Ratio {

private final Double ratio;
Expand Down

0 comments on commit ff8411a

Please sign in to comment.