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

19
LINES

< > BotCompany Repo | #1020890 // list (for concepts)

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

Libraryless. Click here for Pure Java version (20259L/123K).

1  
static <A extends Concept> L<A> nuLike list(Class<A> type, Concepts cc default db_mainConcepts()) {
2  
  ret cc.list(type);
3  
}
4  
5  
static <A extends Concept> L<A> list(Concepts concepts, Class<A> type) {
6  
  ret concepts.list(type);
7  
}
8  
9  
static L<Concept> list(S type) {
10  
  ret db_mainConcepts().list(type);
11  
}
12  
13  
static L<Concept> list(Concepts concepts, S type) {
14  
  ret concepts.list(type);
15  
}
16  
17  
static L<Concept> list(Concepts concepts) {
18  
  ret asList(concepts.allConcepts());
19  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1020890
Snippet name: list (for concepts)
Eternal ID of this version: #1020890/5
Text MD5: 460b2eee88a098ae265cb6a09425fee2
Transpilation MD5: b9a77ee5825648b60285217f80f940ad
Author: stefan
Category: javax / db
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-03 17:48:31
Source code size: 484 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 460 / 586
Version history: 4 change(s)
Referenced in: [show references]