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

11
LINES

< > BotCompany Repo | #1006650 // findConceptExtended - allows "field.subfield"

JavaX fragment (include)

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

static <A extends Concept> A findConceptExtended(Concepts concepts, Class<A> c, O... params) {
  params = expandParams(c, params);
  for (A x : concepts.list(c))
    if (checkConceptFieldsExtended(x, params))
      ret x;
  ret null;
}

Author comment

Began life as a copy of #1005039

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: #1006650
Snippet name: findConceptExtended - allows "field.subfield"
Eternal ID of this version: #1006650/1
Text MD5: 38f2518daad9f8febbe8bd644152e9b2
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-25 18:02:33
Source code size: 378 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 519 / 549
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)