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

8
LINES

< > BotCompany Repo | #1010878 // extendsWordsMatrix - make an additional line

JavaX fragment (include)

1  
static S[] extendWordsMatrix(S[][] matrix, S line) {
2  
  int cols = l(matrix[0]);
3  
  S[] m = new S[cols];
4  
  L<S> words = words(line);
5  
  for j to cols:
6  
    m[j] = j < l(words) ? words.get(j) : "";
7  
  ret m;
8  
}

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: #1010878
Snippet name: extendsWordsMatrix - make an additional line
Eternal ID of this version: #1010878/1
Text MD5: c4b7e0a14e8ed5930d138c6070097e0d
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 00:28:13
Source code size: 210 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 398 / 425
Referenced in: [show references]