static Rect biggestRect(L<Rect> l) { new Best<Rect> best; for (Rect r : l) best.put(r, r.w*r.h); ret best.get(); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006213 |
Snippet name: | biggestRect - return biggest rect from list |
Eternal ID of this version: | #1006213/1 |
Text MD5: | 265155c8c330f282f3f1ad4f506a0551 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-23 14:39:41 |
Source code size: | 129 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 529 / 569 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |