static int makeUniqueConcepts(Class<? extends Concept> c, S field, Collection values) { int n = 0; for (O value : unnull(values)) if (uniq3(c, field, value)) ++n; ret n; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008614 |
Snippet name: | makeUniqueConcepts - create concepts with a parameter if they're not there (using a list of values); returns number of concepts made |
Eternal ID of this version: | #1008614/3 |
Text MD5: | 20ece2bfa6abdb619c5e47b8ae2629b9 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-30 17:00:11 |
Source code size: | 186 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 486 / 551 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |