Libraryless. Click here for Pure Java version (20167L/122K).
1 | svoid deleteConcepts(Cl conceptsOrIDs) { |
2 | db_mainConcepts().deleteConcepts(asList(conceptsOrIDs)); |
3 | } |
4 | |
5 | static <A extends Concept> L<A> nuLike deleteConcepts(Concepts cc default db_mainConcepts(), Class<A> c, O... params) { |
6 | L<A> l = asList(findConceptsWhere(cc, c, params)); |
7 | deleteConcepts(l); |
8 | ret l; |
9 | } |
10 | |
11 | static <A extends Concept> L<A> deleteConcepts(Concepts cc default db_mainConcepts(), Class<A> c, IPred<A> pred) { |
12 | var l = filter(list(cc, c), pred); |
13 | deleteConcepts(l); |
14 | ret l; |
15 | } |
16 | |
17 | static L<Concept> deleteConcepts(Concepts cc) { |
18 | ret deleteConcepts(cc, Concept); |
19 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1005068 |
Snippet name: | deleteConcepts |
Eternal ID of this version: | #1005068/10 |
Text MD5: | 87f117a1ddfa6d6bf324158e947f214d |
Transpilation MD5: | 8ef36a5e4ec148f06b0ac46912a01484 |
Author: | stefan |
Category: | javax / conceptsa |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-24 00:24:37 |
Source code size: | 598 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 710 / 843 |
Version history: | 9 change(s) |
Referenced in: | [show references] |