Libraryless. Click here for Pure Java version (13587L/91K).
static <A extends Concept> A uniq_cached(Class<A> c) { ret uniq_cached(db_mainConcepts(), c); } static <A extends Concept> A uniq_cached(Concepts cc, Class<A> c) { temp tempDBLock(cc); indexSingletonConceptIfUnindexed(cc, c); ret uniq(cc, c); }
Began life as a copy of #1005040
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030272 |
Snippet name: | uniq_cached - uniq, but create index too. for now only without parameters |
Eternal ID of this version: | #1030272/1 |
Text MD5: | b4fbf6a2698caadfa6836a463656ae0a |
Transpilation MD5: | 8d0f700e9a6d400ba455225c4cce0521 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-25 13:55:21 |
Source code size: | 261 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 198 / 276 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |