Performs an operation on every row in these Results, passing itself each time it iterates to a new row @param lambda The callback to be run on every row in these Results
(Consumer<Results> lambda)
| 552 | * @param lambda The callback to be run on every row in these Results |
| 553 | */ |
| 554 | public void forEach(Consumer<Results> lambda) { |
| 555 | if (isEmpty()) { |
| 556 | return; |
| 557 | } |
| 558 | lambda.accept(this); |
| 559 | while (next()) { |
| 560 | lambda.accept(this); |
| 561 | } |
| 562 | close(); |
| 563 | } |
| 564 | |
| 565 | /** |
| 566 | * Gets an Object in the given column in the current row |
no test coverage detected