Libraryless. Click here for Pure Java version (1700L/11K).
1 | static Int firstNonNegativeInt(Iterable<Int> l) { |
2 | ret firstThat(i -> i != null && i >= 0, l); |
3 | } |
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: | 199 / 279 |
Referenced in: | [show references] |