(Function<? super B, ? extends R> mapper)
| 59 | } |
| 60 | |
| 61 | public <R> R map(Function<? super B, ? extends R> mapper) { |
| 62 | Require.nonNull("Mapper", mapper); |
| 63 | return mapper.apply(right()); |
| 64 | } |
| 65 | |
| 66 | public <R> R mapLeft(Function<? super A, ? extends R> mapper) { |
| 67 | Require.nonNull("Mapper", mapper); |