Skip to content

Commit da54383

Browse files
javadoc of Either.map + .mapLeft
1 parent a73d49f commit da54383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javaslang/src/main/java/javaslang/control/Either.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ default <U> Either<L, U> flatMap(Function<? super R, ? extends Either<L, ? exten
240240
}
241241

242242
/**
243-
* Maps this right-biased Either.
243+
* Maps the right value of this Either, if present.
244244
*
245245
* @param mapper A mapper
246246
* @param <U> Component type of the mapped right value
@@ -259,7 +259,7 @@ default <U> Either<L, U> map(Function<? super R, ? extends U> mapper) {
259259
}
260260

261261
/**
262-
* Maps this right-biased Either.
262+
* Maps the left value of this Either, if present.
263263
*
264264
* @param leftMapper A mapper
265265
* @param <U> Component type of the mapped right value

0 commit comments

Comments
 (0)