@@ -45,14 +45,12 @@ static <T> IOFunction<T, T> identity() {
4545 }
4646
4747 /**
48- * Returns a composed {@link IOFunction} that first applies this function to
49- * its input, and then applies the {@code after} consumer to the result.
50- * If evaluation of either function throws an exception, it is relayed to
51- * the caller of the composed function.
48+ * Returns a composed {@link IOFunction} that first applies this function to its input, and then applies the
49+ * {@code after} consumer to the result. If evaluation of either function throws an exception, it is relayed to the
50+ * caller of the composed function.
5251 *
5352 * @param after the consumer to apply after this function is applied
54- * @return a composed function that first applies this function and then
55- * applies the {@code after} consumer
53+ * @return a composed function that first applies this function and then applies the {@code after} consumer
5654 * @throws NullPointerException if after is null
5755 *
5856 * @see #compose(IOFunction)
@@ -63,16 +61,13 @@ default IOConsumer<T> andThen(final Consumer<? super R> after) {
6361 }
6462
6563 /**
66- * Returns a composed {@link IOFunction} that first applies this function to
67- * its input, and then applies the {@code after} function to the result.
68- * If evaluation of either function throws an exception, it is relayed to
69- * the caller of the composed function.
64+ * Returns a composed {@link IOFunction} that first applies this function to its input, and then applies the
65+ * {@code after} function to the result. If evaluation of either function throws an exception, it is relayed to the
66+ * caller of the composed function.
7067 *
71- * @param <V> the type of output of the {@code after} function, and of the
72- * composed function
68+ * @param <V> the type of output of the {@code after} function, and of the composed function
7369 * @param after the function to apply after this function is applied
74- * @return a composed function that first applies this function and then
75- * applies the {@code after} function
70+ * @return a composed function that first applies this function and then applies the {@code after} function
7671 * @throws NullPointerException if after is null
7772 *
7873 * @see #compose(IOFunction)
@@ -83,14 +78,12 @@ default <V> IOFunction<T, V> andThen(final Function<? super R, ? extends V> afte
8378 }
8479
8580 /**
86- * Returns a composed {@link IOFunction} that first applies this function to
87- * its input, and then applies the {@code after} consumer to the result.
88- * If evaluation of either function throws an exception, it is relayed to
89- * the caller of the composed function.
81+ * Returns a composed {@link IOFunction} that first applies this function to its input, and then applies the
82+ * {@code after} consumer to the result. If evaluation of either function throws an exception, it is relayed to the
83+ * caller of the composed function.
9084 *
9185 * @param after the consumer to apply after this function is applied
92- * @return a composed function that first applies this function and then
93- * applies the {@code after} consumer
86+ * @return a composed function that first applies this function and then applies the {@code after} consumer
9487 * @throws NullPointerException if after is null
9588 *
9689 * @see #compose(IOFunction)
@@ -101,16 +94,13 @@ default IOConsumer<T> andThen(final IOConsumer<? super R> after) {
10194 }
10295
10396 /**
104- * Returns a composed {@link IOFunction} that first applies this function to
105- * its input, and then applies the {@code after} function to the result.
106- * If evaluation of either function throws an exception, it is relayed to
107- * the caller of the composed function.
97+ * Returns a composed {@link IOFunction} that first applies this function to its input, and then applies the
98+ * {@code after} function to the result. If evaluation of either function throws an exception, it is relayed to the
99+ * caller of the composed function.
108100 *
109- * @param <V> the type of output of the {@code after} function, and of the
110- * composed function
101+ * @param <V> the type of output of the {@code after} function, and of the composed function
111102 * @param after the function to apply after this function is applied
112- * @return a composed function that first applies this function and then
113- * applies the {@code after} function
103+ * @return a composed function that first applies this function and then applies the {@code after} function
114104 * @throws NullPointerException if after is null
115105 *
116106 * @see #compose(IOFunction)
@@ -130,8 +120,7 @@ default <V> IOFunction<T, V> andThen(final IOFunction<? super R, ? extends V> af
130120 R apply (final T t ) throws IOException ;
131121
132122 /**
133- * Converts this instance to a {@link Function} that throws {@link UncheckedIOException} instead of
134- * {@link IOException}.
123+ * Creates a {@link Function} for this instance that throws {@link UncheckedIOException} instead of {@link IOException}.
135124 *
136125 * @return an unchecked Function.
137126 * @since 2.12.0
@@ -141,16 +130,13 @@ default Function<T, R> asFunction() {
141130 }
142131
143132 /**
144- * Returns a composed {@link IOFunction} that first applies the {@code before}
145- * function to its input, and then applies this function to the result.
146- * If evaluation of either function throws an exception, it is relayed to
147- * the caller of the composed function.
133+ * Returns a composed {@link IOFunction} that first applies the {@code before} function to its input, and then applies
134+ * this function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the
135+ * composed function.
148136 *
149- * @param <V> the type of input to the {@code before} function, and to the
150- * composed function
137+ * @param <V> the type of input to the {@code before} function, and to the composed function
151138 * @param before the function to apply before this function is applied
152- * @return a composed function that first applies the {@code before}
153- * function and then applies this function
139+ * @return a composed function that first applies the {@code before} function and then applies this function
154140 * @throws NullPointerException if before is null
155141 *
156142 * @see #andThen(IOFunction)
@@ -161,16 +147,13 @@ default <V> IOFunction<V, R> compose(final Function<? super V, ? extends T> befo
161147 }
162148
163149 /**
164- * Returns a composed {@link IOFunction} that first applies the {@code before}
165- * function to its input, and then applies this function to the result.
166- * If evaluation of either function throws an exception, it is relayed to
167- * the caller of the composed function.
150+ * Returns a composed {@link IOFunction} that first applies the {@code before} function to its input, and then applies
151+ * this function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the
152+ * composed function.
168153 *
169- * @param <V> the type of input to the {@code before} function, and to the
170- * composed function
154+ * @param <V> the type of input to the {@code before} function, and to the composed function
171155 * @param before the function to apply before this function is applied
172- * @return a composed function that first applies the {@code before}
173- * function and then applies this function
156+ * @return a composed function that first applies the {@code before} function and then applies this function
174157 * @throws NullPointerException if before is null
175158 *
176159 * @see #andThen(IOFunction)
@@ -181,14 +164,12 @@ default <V> IOFunction<V, R> compose(final IOFunction<? super V, ? extends T> be
181164 }
182165
183166 /**
184- * Returns a composed {@link IOFunction} that first applies the {@code before}
185- * function to its input, and then applies this function to the result.
186- * If evaluation of either function throws an exception, it is relayed to
187- * the caller of the composed function.
167+ * Returns a composed {@link IOFunction} that first applies the {@code before} function to its input, and then applies
168+ * this function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the
169+ * composed function.
188170 *
189171 * @param before the supplier which feeds the application of this function
190- * @return a composed function that first applies the {@code before}
191- * function and then applies this function
172+ * @return a composed function that first applies the {@code before} function and then applies this function
192173 * @throws NullPointerException if before is null
193174 *
194175 * @see #andThen(IOFunction)
@@ -199,14 +180,12 @@ default IOSupplier<R> compose(final IOSupplier<? extends T> before) {
199180 }
200181
201182 /**
202- * Returns a composed {@link IOFunction} that first applies the {@code before}
203- * function to its input, and then applies this function to the result.
204- * If evaluation of either function throws an exception, it is relayed to
205- * the caller of the composed function.
183+ * Returns a composed {@link IOFunction} that first applies the {@code before} function to its input, and then applies
184+ * this function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the
185+ * composed function.
206186 *
207187 * @param before the supplier which feeds the application of this function
208- * @return a composed function that first applies the {@code before}
209- * function and then applies this function
188+ * @return a composed function that first applies the {@code before} function and then applies this function
210189 * @throws NullPointerException if before is null
211190 *
212191 * @see #andThen(IOFunction)
0 commit comments