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

6
LINES

< > BotCompany Repo | #1024156 // gazelle_fromServer_channelMap - id to name

JavaX fragment (include)

1  
static Map<Long, S> gazelle_fromServer_channelMap() {
2  
  new Map<Long, S> map;
3  
  for (Map m : (L<Map>) loadJSONList("http://gazelle.botcompany.de/channels"))
4  
    mapPut(map, getLong channelID(m), getString name(m));
5  
  ret map;
6  
}

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: #1024156
Snippet name: gazelle_fromServer_channelMap - id to name
Eternal ID of this version: #1024156/1
Text MD5: 83cd16c1ce45373f96b0d029fbd780e6
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-23 18:58:05
Source code size: 232 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 239
Referenced in: [show references]