Libraryless. Click here for Pure Java version (3803L/22K).
sbool addUnlessEmpty(Cl<S> l, S s) { ret nempty(s) && l.add(s); }
Began life as a copy of #1007669
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032789 | 
| Snippet name: | addUnlessEmpty | 
| Eternal ID of this version: | #1032789/1 | 
| Text MD5: | 3359535c0c4283b6f8cbc663d6b750f8 | 
| Transpilation MD5: | d0fb2866cf121fae860f1cc16052111c | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-10-06 05:10:08 | 
| Source code size: | 71 bytes / 3 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 364 / 476 | 
| Referenced in: | [show references] |