1 | static <A> L<Map<A, O>> mapToListOfMaps(Map map, A keyName, A valueName) { |
2 | new L<Map<A, O>> l; |
3 | for (O key : map.keySet()) { |
4 | O value = map.get(key); |
5 | l.add(litorderedmap(keyName, key, valueName, value)); |
6 | } |
7 | ret l; |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013148 |
Snippet name: | mapToListOfMaps - for displaying maps in a table (JTable/htable) |
Eternal ID of this version: | #1013148/5 |
Text MD5: | 70a7c478f9725ee18772eb0d3f56114b |
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-11-30 19:12:56 |
Source code size: | 235 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 383 / 404 |
Version history: | 4 change(s) |
Referenced in: | [show references] |