Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

17
LINES

< > BotCompany Repo | #1005068 - deleteConcepts

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (14796L/95K).

svoid deleteConcepts(Cl conceptsOrIDs) {
  db_mainConcepts().deleteConcepts(asList(conceptsOrIDs));
}

static <A extends Concept> L<A> nuLike deleteConcepts(Concepts cc default db_mainConcepts(), Class<A> c, O... params) {
  L<A> l = asList(findConceptsWhere(cc, c, params));
  deleteConcepts(l);
  ret l;
}

static <A extends Concept> void deleteConcepts(Concepts cc default db_mainConcepts(), Class<A> c, IPred<A> pred) {
  deleteConcepts(filter(list(cc, c), pred));
}

static L<Concept> deleteConcepts(Concepts cc) {
  ret deleteConcepts(cc, Concept);
}

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/9
Text MD5: 02ef18367129b30ccffd5368e8cb6fb4
Transpilation MD5: e986ff9ae332e737285775467c9d56c8
Author: stefan
Category: javax / conceptsa
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-19 16:41:01
Source code size: 574 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 435 / 507
Version history: 8 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1005068 & http://1005068.tinybrain.de