static S nullOnEmpty(S s) { ret nullIfEmpty(s); } static Map nullOnEmpty(Map map) { ret nullIfEmpty(map); } static <A> L<A> nullOnEmpty(L<A> l) { ret nullIfEmpty(l); }
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019309 |
Snippet name: | nullOnEmpty - synonym of nullIfEmpty |
Eternal ID of this version: | #1019309/1 |
Text MD5: | a3289451de28c2dedfc4b3e591ecdec3 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-30 16:35:33 |
Source code size: | 183 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 404 / 453 |
Referenced in: | [show references] |