Libraryless. Click here for Pure Java version (14836L/95K).
svoid csetIfUnset(Concept c, S field, O value) { if (cget(c, field) == null) cset(c, field, value); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030937 |
Snippet name: | csetIfUnset |
Eternal ID of this version: | #1030937/2 |
Text MD5: | 450f896f612482d8c631f2c1d574a5f4 |
Transpilation MD5: | 65ddacf381f51c85408e65bdb28b3319 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-12 18:30:44 |
Source code size: | 110 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 153 / 235 |
Version history: | 1 change(s) |
Referenced in: | [show references] |