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

6
LINES

< > BotCompany Repo | #1028617 // usAreaCodesMap - full state name to area codes

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

Libraryless. Click here for Pure Java version (4987L/33K).

static simplyCached MultiMap<S> usAreaCodesMap() {
  File f = javaxCachesDir("us-area-codes.json");
  if (!fileExists(f))
    saveTextFile(f, loadSnippet(#1028616));
  ret mapMultiMapValues str(mapToMultiMap(jsonDecodeMap(loadTextFile(f))));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028617
Snippet name: usAreaCodesMap - full state name to area codes
Eternal ID of this version: #1028617/4
Text MD5: efd063a0179ea1133d499dd60eeb89c0
Transpilation MD5: 5fd60e5a8daa53ccf994b0e9589c70e5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-28 19:57:37
Source code size: 248 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 204 / 300
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1028619 - usAreaCodes