@@ -108,7 +108,7 @@ public long size() {
108
108
* an unknown size, {@link Shape#UNKNOWN_SIZE} is returned.
109
109
*
110
110
* @param i the index of the dimension to get the size for. If this Shape has a known number of
111
- * dimensions, it must be < {@link Shape#numDimensions()}. The index may be negative, in which
111
+ * dimensions, it must be < {@link Shape#numDimensions()}. The index may be negative, in which
112
112
* case the position is counted from the end of the shape. E.g.: {@code size(-1)} returns the
113
113
* size of the last dimension, {@code size(-2)} the size of the second to last dimension etc.
114
114
* @return The size of the dimension with the given index if known, {@link Shape#UNKNOWN_SIZE}
@@ -236,7 +236,7 @@ public Shape head() {
236
236
* Returns an n-dimensional Shape with the dimensions matching the first n dimensions of this
237
237
* shape
238
238
*
239
- * @param n the number of leading dimensions to get, must be < = than {@link Shape#numDimensions()}
239
+ * @param n the number of leading dimensions to get, must be < = than {@link Shape#numDimensions()}
240
240
* @return an n-dimensional Shape with the first n dimensions matching the first n dimensions of
241
241
* this Shape
242
242
*/
@@ -260,7 +260,7 @@ public Shape tail() {
260
260
* Returns an n-dimensional Shape with the dimensions matching the last n dimensions of this
261
261
* Shape.
262
262
*
263
- * @param n the number of trailing dimensions to get, must be < = than {@link
263
+ * @param n the number of trailing dimensions to get, must be < = than {@link
264
264
* Shape#numDimensions()}
265
265
* @return an n-dimensional shape with the dimensions matching the last n dimensions of this
266
266
* Shape, never null
@@ -326,7 +326,7 @@ public Shape prepend(Shape other) {
326
326
/**
327
327
* Returns a new Shape, with another Shapes' dimensions appended. For both this Shape and the
328
328
* other Shape, {@link Shape#isUnknown()} must return false. E.g. @code
329
- * Shape.of(3,4).append(Shape.of(1,2)) => Shape.of(3,4,1,2) }
329
+ * Shape.of(3,4).append(Shape.of(1,2)) => Shape.of(3,4,1,2) }
330
330
*
331
331
* @param other another Shape, must not be {@code null}, must not be unknown
332
332
* @return A new Shape consisting of this Shape's dimensions followed by the given Shape's
0 commit comments