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

13
LINES

< > BotCompany Repo | #1011021 // uniq_debug - get or make concept with certain parameters

JavaX fragment (include)

static <A extends Concept> A uniq_debug(Class<A> c, O... params) {
  ret uniq_debug(mainConcepts, c, params);
}

static <A extends Concept> A uniq_debug(Concepts cc, Class<A> c, O... params) {
  params = expandParams(c, params);
  A x = findConceptWhere_debug(cc, c, params);
  if (x == null) {
    x = nuObject(c);
    csetAll(x, params);
  }
  ret x;
}

Author comment

Began life as a copy of #1005040

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: #1011021
Snippet name: uniq_debug - get or make concept with certain parameters
Eternal ID of this version: #1011021/1
Text MD5: f298170152ea3933d05f8d53bb169073
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-11 18:42:03
Source code size: 366 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 537 / 522
Referenced in: [show references]