Skip to content

Commit 9e2fb48

Browse files
committed
Fixing javadoc
1 parent 9c1c6d4 commit 9e2fb48

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

src/main/java/com/jnape/palatable/lambda/functions/IO.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ default CompletableFuture<A> unsafePerformAsyncIO() {
4646
* constructions may allow this method to delegate to externally-managed {@link CompletableFuture} instead of
4747
* synthesizing their own.
4848
*
49+
* @param executor the {@link Executor} to run the {@link CompletableFuture} from
4950
* @return the {@link CompletableFuture} representing this {@link IO}'s eventual result
5051
* @see IO#unsafePerformAsyncIO()
5152
*/

src/main/java/com/jnape/palatable/lambda/lens/lenses/MapLens.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import com.jnape.palatable.lambda.adt.Maybe;
44
import com.jnape.palatable.lambda.adt.hlist.Tuple2;
55
import com.jnape.palatable.lambda.functions.Fn1;
6-
import com.jnape.palatable.lambda.functions.builtin.fn2.Filter;
76
import com.jnape.palatable.lambda.functions.IO;
7+
import com.jnape.palatable.lambda.functions.builtin.fn2.Filter;
88
import com.jnape.palatable.lambda.lens.Iso;
99
import com.jnape.palatable.lambda.lens.Lens;
1010

@@ -40,9 +40,10 @@ private MapLens() {
4040
* A lens that focuses on a copy of a {@link Map} as a subtype <code>M</code>. Useful for composition to avoid
4141
* mutating a map reference.
4242
*
43-
* @param <M> the map subtype
44-
* @param <K> the key type
45-
* @param <V> the value type
43+
* @param <M> the map subtype
44+
* @param <K> the key type
45+
* @param <V> the value type
46+
* @param copyFn the copy function
4647
* @return a lens that focuses on copies of maps as a specific subtype
4748
*/
4849
public static <M extends Map<K, V>, K, V> Lens<Map<K, V>, M, M, M> asCopy(
@@ -65,10 +66,11 @@ public static <K, V> Lens.Simple<Map<K, V>, Map<K, V>> asCopy() {
6566
* A lens that focuses on a value at a key in a map, as a {@link Maybe}, and produces a subtype <code>M</code> on
6667
* the way back out.
6768
*
68-
* @param <M> the map subtype
69-
* @param <K> the key type
70-
* @param <V> the value type
71-
* @param k the key to focus on
69+
* @param <M> the map subtype
70+
* @param <K> the key type
71+
* @param <V> the value type
72+
* @param k the key to focus on
73+
* @param copyFn the copy function
7274
* @return a lens that focuses on the value at key, as a {@link Maybe}
7375
*/
7476
public static <M extends Map<K, V>, K, V> Lens<Map<K, V>, M, Maybe<V>, Maybe<V>> valueAt(

src/main/java/com/jnape/palatable/lambda/monoid/builtin/MergeMaps.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import java.util.function.Supplier;
1212

1313
/**
14-
* A {@link Monoid} instance formed by {@link Map#merge(K, V, BiFunction)} and a semigroup over <code>V</code>.
15-
* Combines together multiple maps using the provided semigroup for key collisions.
14+
* A {@link Monoid} instance formed by {@link java.util.Map#merge(Object, Object, BiFunction)} and a semigroup over
15+
* <code>V</code>. Combines together multiple maps using the provided semigroup for key collisions.
1616
*
1717
* @param <K> The key parameter type of the Map
1818
* @param <V> The value parameter type of the Map

0 commit comments

Comments
 (0)