1 | static int maxLength(Collection<? extends Collection> l) { |
2 | int n = 0; |
3 | if (l != null) for (Collection c : l) |
4 | n = max(n, l(c)); |
5 | ret n; |
6 | } |
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: | #1010876 |
Snippet name: | maxLength - of collections |
Eternal ID of this version: | #1010876/2 |
Text MD5: | 045034d6bda26f107d9e36ea903c73bc |
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:08 |
Source code size: | 149 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 450 / 495 |
Version history: | 1 change(s) |
Referenced in: | [show references] |