@@ -179,13 +179,8 @@ default float getFloat(String columnName) {
179179 /**
180180 * @param columnIndex index of the column
181181 * @return the value of a column with type T. return value(T) can be null.
182- * <p>
183- * Example:
184- * <p>
185- * Struct row = ...
186- * String name = row.getOrNull(1, row::getString)
187- * </p>
188- * </p>
182+ * <p>Example:
183+ * <p>Struct row = ... String name = row.getOrNull(1, row::getString)
189184 */
190185 default <T > T getOrNull (int columnIndex , Function <Integer , T > function ) {
191186 return isNull (columnIndex ) ? null : function .apply (columnIndex );
@@ -194,13 +189,8 @@ default <T> T getOrNull(int columnIndex, Function<Integer, T> function) {
194189 /**
195190 * @param columnName index of the column
196191 * @return the value of a column with type T. return value(T) can be null.
197- * <p>
198- * Example:
199- * <p>
200- * Struct row = ...
201- * String name = row.getOrNull("name", row::getString)
202- * </p>
203- * </p>
192+ * <p>Example:
193+ * <p>Struct row = ... String name = row.getOrNull("name", row::getString)
204194 */
205195 default <T > T getOrNull (String columnName , Function <String , T > function ) {
206196 return isNull (columnName ) ? null : function .apply (columnName );
@@ -209,13 +199,8 @@ default <T> T getOrNull(String columnName, Function<String, T> function) {
209199 /**
210200 * @param columnIndex index of the column
211201 * @return the value of a column with type T. if column value is null, returns default value.
212- * <p>
213- * Example:
214- * <p>
215- * Struct row = ...
216- * String name = row.getOrDefault(1, row::getString, "")
217- * </p>
218- * </p>
202+ * <p>Example:
203+ * <p>Struct row = ... String name = row.getOrDefault(1, row::getString, "")
219204 */
220205 default <T > T getOrDefault (int columnIndex , Function <Integer , T > function , T defaultValue ) {
221206 return isNull (columnIndex ) ? defaultValue : function .apply (columnIndex );
@@ -224,13 +209,8 @@ default <T> T getOrDefault(int columnIndex, Function<Integer, T> function, T def
224209 /**
225210 * @param columnName name of the column
226211 * @return the value of a column with type T. if column value is null, returns default value.
227- * <p>
228- * Example:
229- * <p>
230- * Struct row = ...
231- * String name = row.getOrDefault("name", row::getString, "")
232- * </p>
233- * </p>
212+ * <p>Example:
213+ * <p>Struct row = ... String name = row.getOrDefault("name", row::getString, "")
234214 */
235215 default <T > T getOrDefault (String columnName , Function <String , T > function , T defaultValue ) {
236216 return isNull (columnName ) ? defaultValue : function .apply (columnName );
0 commit comments