1 | static L<S> wordTokensToLowerCase(L<S> tok) { |
2 | tok = new ArrayList<S>(tok); |
3 | for (int i = 1; i < tok.size(); i += 2) |
4 | if (!isQuoted(tok.get(i))) |
5 | tok.set(i, tok.get(i).toLowerCase()); |
6 | return tok; |
7 | } |
Began life as a copy of #1000813
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: | #1002699 |
Snippet name: | wordTokensToLowerCase |
Eternal ID of this version: | #1002699/1 |
Text MD5: | 09242845015b452146ea912d546122bd |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-15 22:25:45 |
Source code size: | 215 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 667 / 698 |
Referenced in: | [show references] |