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

7
LINES

< > BotCompany Repo | #1010882 // wordsMatrixColumn

JavaX fragment (include)

static S[] wordsMatrixColumn(L<S> lines, int colIdx) {
  int rows = l(lines);
  S[] col = new S[rows];
  for i to rows:
    col[i] = unnull(get(words(lines.get(i)), colIdx));
  ret col;
}

Author comment

Began life as a copy of #1010877

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010882
Snippet name: wordsMatrixColumn
Eternal ID of this version: #1010882/5
Text MD5: 850fe826c1df99dac789d464ba229cf0
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-05 03:28:21
Source code size: 193 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 395 / 434
Version history: 4 change(s)
Referenced in: [show references]