// TODO: merge with uniqCI2_sync static <A extends Concept> Pair<A, Bool> nuLike uniqCI2(Class<A> c, O... params) { ret uniqCI2(db_mainConcepts(), c, params); } static <A extends Concept> Pair<A, Bool> uniqCI2(Concepts cc, Class<A> c, O... params) { params = expandParams(c, params); A x = findConceptWhereCI(cc, c, params); if (x == null) { x = unlisted(c); csetAll(x, params); cc.register(x); ret pair(x, true); } ret pair(x, false); }
Began life as a copy of #1008467
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023559 | 
| Snippet name: | uniqCI2 - get or make concept with certain parameters, ignoring case; return whether it was new | 
| Eternal ID of this version: | #1023559/5 | 
| Text MD5: | 57bc8a1b78739eb558ea90471c803549 | 
| Author: | stefan | 
| Category: | javax / concepts | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-04-12 18:37:28 | 
| Source code size: | 483 bytes / 17 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 469 / 544 | 
| Version history: | 4 change(s) | 
| Referenced in: | [show references] |