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

5
LINES

< > BotCompany Repo | #1026278 // defaultConceptRendererForTable

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

Libraryless. Click here for Pure Java version (12731L/87K).

static <A extends Concept> IF1<A, Map> defaultConceptRendererForTable(Class<A> c) {
  LS fields = concatLists(ll("id"), conceptFieldsInOrder(c));
  ret (IF1<A, Map>) (cc ->
    mapKeyAndFunction_lhm(func(S field) { renderForTable(cget(cc, field)) }, fields));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026278
Snippet name: defaultConceptRendererForTable
Eternal ID of this version: #1026278/4
Text MD5: 392c4cd0294f673952623027e615ab0b
Transpilation MD5: 11236a631c645b1b69ed520c8dafd54d
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-11 13:36:41
Source code size: 265 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 255 / 326
Version history: 3 change(s)
Referenced in: [show references]