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

9
LINES

< > BotCompany Repo | #1016765 // mapFromFirstAndThirdWord

JavaX fragment (include)

static SS mapFromFirstAndThirdWord(Iterable<S> l) {
  SS map = new LinkedHashMap;
  for (S s : l) {
    L<S> words = words(s);
    if (l(words) >= 3)
      map.put(first(words), third(words));
  }
  ret map;
}

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: #1016765
Snippet name: mapFromFirstAndThirdWord
Eternal ID of this version: #1016765/1
Text MD5: 4e46abf7aa91cd70a1423356eb4e179b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-02 12:11:51
Source code size: 217 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 351 / 374
Referenced in: [show references]