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

17
LINES

< > BotCompany Repo | #1001896 // toLowerCase

JavaX fragment (include)

static L<S> toLowerCase(L<S> strings) {
  new L<S> x;
  for (S s : strings)
    x.add(s.toLowerCase());
  ret x;
}

static S[] toLowerCase(S[] strings) {
  S[] x = new S[l(strings)];
  for (int i = 0; i < l(strings); i++)
    x[i] = strings[i].toLowerCase();
  ret x;
}

static S toLowerCase(S s) {
  ret s == null ? "" : s.toLowerCase();
}

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: #1001896
Snippet name: toLowerCase
Eternal ID of this version: #1001896/1
Text MD5: c123a05696d01de5c297acc3265ee835
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-05 17:45:01
Source code size: 356 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 679 / 1802
Referenced in: [show references]