Libraryless. Click here for Pure Java version (1700L/11K).
static Int firstNonNegativeInt(Iterable<Int> l) { ret firstThat(i -> i != null && i >= 0, l); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023789 |
Snippet name: | firstNonNegativeInt |
Eternal ID of this version: | #1023789/1 |
Text MD5: | 9725fc27925ab30bb5cad42db520a49c |
Transpilation MD5: | 7180a13a7aa6d326c8af0ae2af1d49d6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-09 01:55:34 |
Source code size: | 99 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 198 / 277 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1023790 - firstNonZeroDouble |