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

6
LINES

< > BotCompany Repo | #1022608 // carModelsDB

JavaX fragment (include)

static cached L<CarModel> carModelsDB() {
  ret map(parseCSV_unquote(gunzipSnippetToString(#1400201)),
    func(SS map) -> CarModel {
      CarModel(intern(map.get("make")), map.get("model"), parseIntOpt(map.get("year")))
    });
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022608
Snippet name: carModelsDB
Eternal ID of this version: #1022608/1
Text MD5: 6c23996c5dc0ad0aca37601200a11b27
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-24 11:33:56
Source code size: 236 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 243 / 277
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)