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)

1  
static <A extends Concept> A findConceptExtended(Class<A> c, O... params) {
2  
  ret findConceptExtended(mainConcepts, c, params);
3  
}
4  
5  
static <A extends Concept> A findConceptExtended(Concepts concepts, Class<A> c, O... params) {
6  
  params = expandParams(c, params);
7  
  for (A x : concepts.list(c))
8  
    if (checkConceptFieldsExtended(x, params))
9  
      ret x;
10  
  ret null;
11  
}

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: 518 / 549
Referenced in: [show references]