Libraryless. Click here for Pure Java version (14681L/94K).
// make concept instance that is not connected to DB static <A extends Concept> A nuLike unlisted(Class<A> c, O... args) { concepts_unlisted.set(true); try { ret nuObject(c, args); } finally { concepts_unlisted.set(null); } } static Concept nuLike unlisted(S name, O... args) { Class<? extends Concept> cc = findClass(name); concepts_unlisted.set(true); try { ret cc != null ? nuObject(cc) : new Concept(name); } finally { concepts_unlisted.set(null); } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1007591 |
| Snippet name: | unlisted |
| Eternal ID of this version: | #1007591/4 |
| Text MD5: | 578aa92cebc5458a7a6f33c3b6141e71 |
| Transpilation MD5: | ff8a4beb0032d7f3a609b8d788b6f0cf |
| Author: | stefan |
| Category: | javax / concepts |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-03-18 22:09:45 |
| Source code size: | 508 bytes / 19 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 980 / 1140 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1022282 - unlistedWithValues #1030998 - unlisted_gen |