Libraryless. Click here for Pure Java version (1700L/11K).
static Double firstNonZeroDouble(Iterable<Double> l) { ret firstThat(d -> d != null && d != 0, l); }
Began life as a copy of #1023789
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: | #1023790 |
Snippet name: | firstNonZeroDouble |
Eternal ID of this version: | #1023790/1 |
Text MD5: | 63b0d7081fe9cbd7280f502b11218ec5 |
Transpilation MD5: | 9dbbd16fc9a15ebc0173a1399a7f9199 |
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:58:18 |
Source code size: | 104 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 199 / 296 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |