Libraryless. Click here for Pure Java version (14836L/95K).
1 | svoid csetIfUnset(Concept c, S field, O value) { |
2 | if (cget(c, field) == null) |
3 | cset(c, field, value); |
4 | } |
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: | 154 / 236 |
Version history: | 1 change(s) |
Referenced in: | [show references] |