Skip to content

Commit 2e4714d

Browse files
committed
Fixing Javadocs
1 parent 531c342 commit 2e4714d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/jnape/palatable/lambda/functions/builtin/fn2/MagnetizeBy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
* Given a binary predicate and an <code>{@link Iterable}&lt;A&gt;</code>, return an <code>{@link Iterable}&lt;{@link
2121
* Iterable}&lt;A&gt;&gt;</code> of the contiguous groups of elements that match the predicate pairwise.
2222
* <p>
23-
* Example: <code>magnetizeBy((x, y) -> x <= y, asList(1, 2, 3, 2, 2, 3, 2, 1)); // [[1, 2, 3], [2, 2, 3], [2],
23+
* Example: <code>magnetizeBy((x, y) -&gt; x &lt;= y, asList(1, 2, 3, 2, 2, 3, 2, 1)); // [[1, 2, 3], [2, 2, 3], [2],
2424
* [1]]</code>
2525
*
26-
* @param <A>
26+
* @param <A> the {@link Iterable} element type
2727
*/
2828
public final class MagnetizeBy<A> implements Fn2<BiFunction<? super A, ? super A, Boolean>, Iterable<A>, Iterable<Iterable<A>>> {
2929

0 commit comments

Comments
 (0)