1 | static int maxStringLength(Collection<S> l) { |
2 | int n = 0; |
3 | if (l != null) for (S s : l) |
4 | n = max(n, l(s)); |
5 | ret n; |
6 | } |
Began life as a copy of #1010876
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: | #1014812 |
Snippet name: | maxStringLength |
Eternal ID of this version: | #1014812/1 |
Text MD5: | ca1b0f23d937bb45b4730a15dccb2d1c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-03 14:39:24 |
Source code size: | 127 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 367 / 404 |
Referenced in: | [show references] |