@@ -52,7 +52,7 @@ public Point location() {
5252 */
5353 @ NonNull
5454 @ SerializedName ("location" )
55- @ SuppressWarnings ( {"mutable" , "WeakerAccess" })
55+ @ SuppressWarnings ({"mutable" , "WeakerAccess" })
5656 protected abstract double [] rawLocation ();
5757
5858 /**
@@ -107,9 +107,9 @@ public Point location() {
107107 * - unknown
108108 * Example:
109109 * "form_of_way": [
110- * "ramp",
111- * "single_carriageway",
112- * "freeway"
110+ * "ramp",
111+ * "single_carriageway",
112+ * "freeway"
113113 * ]
114114 *
115115 * @return A list of form of way values for all roads at the step intersection
@@ -123,6 +123,7 @@ public Point location() {
123123 * This list has a 1:1 correspondence with the {@link #bearings()} and {@link #entry()} lists.
124124 * Each value represents the geometry of a segment up to the next intersection (a SIRN segment).
125125 * For on-route segments, the geometry is `null` except for the first and last segment of each leg.
126+ *
126127 * @return A list of geometry for all roads at the step intersection
127128 */
128129 @ Nullable
@@ -137,6 +138,7 @@ public Point location() {
137138 * - -1 (forward)
138139 * - 1 (backward)
139140 * - 2 (both).
141+ *
140142 * @return A list of access values for all roads at the intersection
141143 */
142144 @ Nullable
@@ -147,6 +149,7 @@ public Point location() {
147149 * A list indicating whether each road at the step intersection is elevated.
148150 * This list has a 1:1 correspondence with the {@link #bearings()} and {@link #entry()} lists.
149151 * Each value is {@code true} if the segment is elevated, otherwise {@code false}.
152+ *
150153 * @return A list of boolean values indicating elevated status for all roads at the intersection.
151154 */
152155 @ Nullable
@@ -157,6 +160,7 @@ public Point location() {
157160 * A list indicating whether each road at the step intersection is a bridge.
158161 * This list has a 1:1 correspondence with the {@link #bearings()} and {@link #entry()} lists.
159162 * Each value is {@code true} if the segment is a bridge, otherwise {@code false}.
163+ *
160164 * @return A list of boolean values indicating bridge status for all roads at the intersection
161165 */
162166 @ Nullable
@@ -445,9 +449,9 @@ public abstract static class Builder extends DirectionsJsonObject.Builder<Builde
445449 * - unknown
446450 * Example:
447451 * "form_of_way": [
448- * "ramp",
449- * "single_carriageway",
450- * "freeway"
452+ * "ramp",
453+ * "single_carriageway",
454+ * "freeway"
451455 * ]
452456 *
453457 * @param formOfWay a list of form of way values for all roads at the step intersection
0 commit comments