From ff8411a850d31efcc48cc7ecd9073a874b525248 Mon Sep 17 00:00:00 2001 From: JustCris Date: Thu, 9 Jan 2025 11:50:15 +0100 Subject: [PATCH] javadoc comment for Ratio class --- .../java/org/opentripplanner/transit/model/basic/Ratio.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/src/main/java/org/opentripplanner/transit/model/basic/Ratio.java b/application/src/main/java/org/opentripplanner/transit/model/basic/Ratio.java index 95c4260b078..1fa1ed7e7b8 100644 --- a/application/src/main/java/org/opentripplanner/transit/model/basic/Ratio.java +++ b/application/src/main/java/org/opentripplanner/transit/model/basic/Ratio.java @@ -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;