Skip to content

Commit 24485c6

Browse files
committed
fix vectors javadoc
1 parent 91d835a commit 24485c6

5 files changed

Lines changed: 35 additions & 35 deletions

File tree

core/src/main/java/fj/data/vector/V4.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ public A f(final V4<A> v) {
304304
}
305305

306306
/**
307-
* A first-class function to get the third element of a vector.
307+
* A first-class function to get the fourth element of a vector.
308308
*
309-
* @return a function that gets the third element of a given vector.
309+
* @return a function that gets the fourth element of a given vector.
310310
*/
311311
public static <A> F<V4<A>, A> __4() {
312312
return new F<V4<A>, A>() {
@@ -315,4 +315,4 @@ public A f(final V4<A> v) {
315315
}
316316
};
317317
}
318-
}
318+
}

core/src/main/java/fj/data/vector/V5.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ public A f(final V5<A> v) {
321321
}
322322

323323
/**
324-
* A first-class function to get the third element of a vector.
324+
* A first-class function to get the fourth element of a vector.
325325
*
326-
* @return a function that gets the third element of a given vector.
326+
* @return a function that gets the fourth element of a given vector.
327327
*/
328328
public static <A> F<V5<A>, A> __4() {
329329
return new F<V5<A>, A>() {
@@ -334,9 +334,9 @@ public A f(final V5<A> v) {
334334
}
335335

336336
/**
337-
* A first-class function to get the third element of a vector.
337+
* A first-class function to get the fifth element of a vector.
338338
*
339-
* @return a function that gets the third element of a given vector.
339+
* @return a function that gets the fifth element of a given vector.
340340
*/
341341
public static <A> F<V5<A>, A> __5() {
342342
return new F<V5<A>, A>() {
@@ -345,4 +345,4 @@ public A f(final V5<A> v) {
345345
}
346346
};
347347
}
348-
}
348+
}

core/src/main/java/fj/data/vector/V6.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ public A f(final V6<A> v) {
338338
}
339339

340340
/**
341-
* A first-class function to get the third element of a vector.
341+
* A first-class function to get the fourth element of a vector.
342342
*
343-
* @return a function that gets the third element of a given vector.
343+
* @return a function that gets the fourth element of a given vector.
344344
*/
345345
public static <A> F<V6<A>, A> __4() {
346346
return new F<V6<A>, A>() {
@@ -351,9 +351,9 @@ public A f(final V6<A> v) {
351351
}
352352

353353
/**
354-
* A first-class function to get the third element of a vector.
354+
* A first-class function to get the fifth element of a vector.
355355
*
356-
* @return a function that gets the third element of a given vector.
356+
* @return a function that gets the fifth element of a given vector.
357357
*/
358358
public static <A> F<V6<A>, A> __5() {
359359
return new F<V6<A>, A>() {
@@ -364,9 +364,9 @@ public A f(final V6<A> v) {
364364
}
365365

366366
/**
367-
* A first-class function to get the third element of a vector.
367+
* A first-class function to get the sixth element of a vector.
368368
*
369-
* @return a function that gets the third element of a given vector.
369+
* @return a function that gets the sixth element of a given vector.
370370
*/
371371
public static <A> F<V6<A>, A> __6() {
372372
return new F<V6<A>, A>() {
@@ -376,4 +376,4 @@ public A f(final V6<A> v) {
376376
};
377377
}
378378

379-
}
379+
}

core/src/main/java/fj/data/vector/V7.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,9 @@ public A f(final V7<A> v) {
355355
}
356356

357357
/**
358-
* A first-class function to get the third element of a vector.
358+
* A first-class function to get the fourth element of a vector.
359359
*
360-
* @return a function that gets the third element of a given vector.
360+
* @return a function that gets the fourth element of a given vector.
361361
*/
362362
public static <A> F<V7<A>, A> __4() {
363363
return new F<V7<A>, A>() {
@@ -368,9 +368,9 @@ public A f(final V7<A> v) {
368368
}
369369

370370
/**
371-
* A first-class function to get the third element of a vector.
371+
* A first-class function to get the fifth element of a vector.
372372
*
373-
* @return a function that gets the third element of a given vector.
373+
* @return a function that gets the fifth element of a given vector.
374374
*/
375375
public static <A> F<V7<A>, A> __5() {
376376
return new F<V7<A>, A>() {
@@ -381,9 +381,9 @@ public A f(final V7<A> v) {
381381
}
382382

383383
/**
384-
* A first-class function to get the third element of a vector.
384+
* A first-class function to get the sixth element of a vector.
385385
*
386-
* @return a function that gets the third element of a given vector.
386+
* @return a function that gets the sixth element of a given vector.
387387
*/
388388
public static <A> F<V7<A>, A> __6() {
389389
return new F<V7<A>, A>() {
@@ -394,9 +394,9 @@ public A f(final V7<A> v) {
394394
}
395395

396396
/**
397-
* A first-class function to get the third element of a vector.
397+
* A first-class function to get the seventh element of a vector.
398398
*
399-
* @return a function that gets the third element of a given vector.
399+
* @return a function that gets the seventh element of a given vector.
400400
*/
401401
public static <A> F<V7<A>, A> __7() {
402402
return new F<V7<A>, A>() {
@@ -406,4 +406,4 @@ public A f(final V7<A> v) {
406406
};
407407
}
408408

409-
}
409+
}

core/src/main/java/fj/data/vector/V8.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,9 @@ public A f(final V8<A> v) {
373373
}
374374

375375
/**
376-
* A first-class function to get the third element of a vector.
376+
* A first-class function to get the fourth element of a vector.
377377
*
378-
* @return a function that gets the third element of a given vector.
378+
* @return a function that gets the fourth element of a given vector.
379379
*/
380380
public static <A> F<V8<A>, A> __4() {
381381
return new F<V8<A>, A>() {
@@ -386,9 +386,9 @@ public A f(final V8<A> v) {
386386
}
387387

388388
/**
389-
* A first-class function to get the third element of a vector.
389+
* A first-class function to get the fifth element of a vector.
390390
*
391-
* @return a function that gets the third element of a given vector.
391+
* @return a function that gets the fifth element of a given vector.
392392
*/
393393
public static <A> F<V8<A>, A> __5() {
394394
return new F<V8<A>, A>() {
@@ -399,9 +399,9 @@ public A f(final V8<A> v) {
399399
}
400400

401401
/**
402-
* A first-class function to get the third element of a vector.
402+
* A first-class function to get the sixth element of a vector.
403403
*
404-
* @return a function that gets the third element of a given vector.
404+
* @return a function that gets the sixth element of a given vector.
405405
*/
406406
public static <A> F<V8<A>, A> __6() {
407407
return new F<V8<A>, A>() {
@@ -412,9 +412,9 @@ public A f(final V8<A> v) {
412412
}
413413

414414
/**
415-
* A first-class function to get the third element of a vector.
415+
* A first-class function to get the seventh element of a vector.
416416
*
417-
* @return a function that gets the third element of a given vector.
417+
* @return a function that gets the seventh element of a given vector.
418418
*/
419419
public static <A> F<V8<A>, A> __7() {
420420
return new F<V8<A>, A>() {
@@ -425,9 +425,9 @@ public A f(final V8<A> v) {
425425
}
426426

427427
/**
428-
* A first-class function to get the third element of a vector.
428+
* A first-class function to get the eighth element of a vector.
429429
*
430-
* @return a function that gets the third element of a given vector.
430+
* @return a function that gets the eighth element of a given vector.
431431
*/
432432
public static <A> F<V8<A>, A> __8() {
433433
return new F<V8<A>, A>() {
@@ -437,4 +437,4 @@ public A f(final V8<A> v) {
437437
};
438438
}
439439

440-
}
440+
}

0 commit comments

Comments
 (0)