1 | sO pcallFAll_returnFirstNotNull(Collection l, O... args) { |
2 | if (l != null) for (O f : cloneList(l)) |
3 | try object pcallF(f, args); |
4 | null; |
5 | } |
6 | |
7 | sO pcallFAll_returnFirstNotNull(Iterator it, O... args) { |
8 | while (it.hasNext()) |
9 | try object pcallF(it.next(), args); |
10 | null; |
11 | } |
Began life as a copy of #1011395
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1020794 |
Snippet name: | pcallFAll_returnFirstNotNull |
Eternal ID of this version: | #1020794/4 |
Text MD5: | 1c4ff636aef8198e0248a94b5886b949 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-03 02:10:15 |
Source code size: | 284 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 274 / 343 |
Version history: | 3 change(s) |
Referenced in: | [show references] |