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

6
LINES

< > BotCompany Repo | #1029710 // countryDialCodes

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

Libraryless. Click here for Pure Java version (4800L/32K).

static cached L<CountryDialCode> countryDialCodes() {
  ret sortedByField dialCode(
    filter(c -> nempty(c.dialCode),
      map((L<SS>) loadJSONFile(loadLibrary(#1400429)), m
    -> new CountryDialCode(m.get("name"), m.get("code"), m.get("dial_code")))));
}

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: #1029710
Snippet name: countryDialCodes
Eternal ID of this version: #1029710/4
Text MD5: e41d448479c9b610263b236f3cbb8224
Transpilation MD5: 13e6bbdce72e33f1785f6977b42bbc0e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-08 11:06:28
Source code size: 264 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 250 / 315
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1029711 - countryDialCodesMultiMap - key=dial code