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

6
LINES

< > BotCompany Repo | #1014344 // collectionToListOfMaps - for displaying maps in a table (JTable/htable)

JavaX fragment (include)

static <A> L<Map<S, A>> collectionToListOfMaps(Collection<A> c, S name) {
  new L<Map<S, A>> l;
  for (A a : unnull(c))
    l.add(litorderedmap(name, a));
  ret l;
}

Author comment

Began life as a copy of #1013148

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: #1014344
Snippet name: collectionToListOfMaps - for displaying maps in a table (JTable/htable)
Eternal ID of this version: #1014344/4
Text MD5: 6500f59529989da902355a1f8d942453
Author: stefan
Category: javax / a.i. / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 12:59:06
Source code size: 170 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 302 / 343
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)